Ah, that makes it a little more interesting and experimental. Try:
/(??{ $. == 1 ? '"99","END"' : '(?=x)(?=X)' })/
In reply to Re^3: using a regex to determine if a string is the start of the FILE
by GrandFather
in thread using a regex to determine if a string is the start of the FILE
by ftumsh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |