That won’t match the exact same things. The OP’s regex will replace the slash in "/2" or in "1/", yours won’t. Not sure if this is part of the spec, but it’s something to be aware of.
Meh. That’s it, I’m going back to bed.
Makeshifts last the longest.
In reply to Re^3: Regex Question
by Aristotle
in thread Regex Question
by shemp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |