Re: find_replace() not working

new topic     » goto parent     » topic index » view thread      » older message » newer message
useless said...

You did not notice the first block of eucode i did first is just what you said to try. That's what didn't work first. What didn't work second was the the second block of eucode i gave. You responded to the second block of code, telling me to try the first block, which already didn't work.
I had also tried:

sequence badbadchars = {'/'} 

find_replace() literally uses find() to search for the needle you pass. So the correct needle to pass here is '/'. But it also simply replaces the element it finds with whatever you pass. So in this case, you should also be passing an integer '='. You're using find_replace() the way that match_replace() works.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu