Thanks Robert and Matthew for these details!
whats the meaning of OP?
The exact problem could be
^.*(abc|def).*(?!ghi).*$
- which doesnt do what one would expect (no, result is what to be
expected, but not wanted
ยทยทยท
is that possible in one regex (best returning the matching string)
Although likely never needed in real-world problems...
thanks
Berg
Maybe other list members understand what your "problem" is,
but I don't... your often used description "doesn't do what
one would expect/want" doesn't really help at all.
If you want to get replies that do not have to speculate
so much on the OP's (original poster - that's you) intentions,
you really must give a more detailed description of your
"problem", preferably with examples of strings you want to
match and strings you do not want to match.
Regards,
Marcus
ยทยทยท
Am 26.06.2016 um 10:00 schrieb A Berger:
Thanks Robert and Matthew for these details!
whats the meaning of OP?
The exact problem could be
^.*(abc|def).*(?!ghi).*$
- which doesnt do what one would expect (no, result is what to be expected, but not wanted
is that possible in one regex (best returning the matching string)
Although likely never needed in real-world problems...