Your mental model of what «.+?» does is severely flawed
Well, yes...hence the need to ask the question...
«.+?» doesn't do any checks related to commas
But I included the comma in my example...perhaps I could have formatted it so it was more prominent.
In reply to Re^4: Non-greedy substitution
by Bod
in thread Non-greedy substitution
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |