good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'm confused. Isn't a regex which negates a substring just a negative regex?
As in, if you want to test that your string doesn't contain "foo", you just do !~ /foo/? Or indeed, use the substring function itself.
-- Nobody says perl looks like line-noise any more ... kids today don't know what line-noise IS. -- In reply to Re: regex substring negation
by Cody Pendant
|
|