And it sounds like replacing .*? with [^;]*? was tried.$text =~ /\G \s* ^ \s* begfoo \s+ (\S+?) \s* \( \s* (.*?) \s +* \) \s* ;/gcmsx
In reply to Re^5: regex gotcha moving from 5.8.8 to 5.30.0?
by kschwab
in thread regex gotcha moving from 5.8.8 to 5.30.0?
by mordibity
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |