| Newsgroups |
gmane.editors.sed.user |
| Message-ID |
<[email protected]> |
Not quite sure what you want to match (not match). The regex also seems
a bit odd to me. To simplify things, it would help if you would give
concrete test cases, like:
Match:
........
........
........
........
No Match:
........
........
........
........
Then someone can make a test file, propose a solution.
Daniel
On 8/14/2014 2:01 PM, [email protected] [sed-users] wrote:
> Hello,
>
> I've read a difficult problem:
> a RegEx, that matches a string, which doesn't include a 2nd string.
> foo-xxx--bar -> no match
> foo-xyx--bar -> match
> It should match, if "foo.+?bar" doesn't contain "xx", something like
> "foo.+(?!xx)bar", but that matches always.
>
> Any idea?
>
> -davidoff12001
>
>
>
> ------------------------------------
> Posted by: [email protected]
> ------------------------------------
>