What's the mnemonic for \K?
Update: Ah, got it.
This is sort of like Prolog's "cut", isn't it? Match a prefix, then never backtrack back past the \K anchor to satisfy the regex. Can you have multiple \Ks in a single regex? I can see Abigail-II having lots of fun with this.
--
The hell with paco, vote for Erudil!
:wq
In reply to Re: New regex trick...
by FoxtrotUniform
in thread New regex trick...
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |