Syntactic Confectionery Delight | |
PerlMonks |
Re: New regex trick...by FoxtrotUniform (Prior) |
on Jul 22, 2002 at 19:18 UTC ( [id://184186]=note: print w/replies, xml ) | Need Help?? |
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. --
In Section
Meditations
|
|