I didn't say m//g in scalar context outside a loop is wrong. I said it's usually wrong. I said the code he used was wrong.
And I bet his tokenizers used /c too
In reply to Re^7: Regex for matching n-fold repititions of arbitrary characters
by ikegami
in thread Regex for matching n-fold repititions of arbitrary characters
by pat_mc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |