Re: How to exclude a sequence of characters

"Thomas Wiedmann" <[email protected]> Fri, 25 Mar 2011 14:11:54 +0100
Newsgroups gmane.comp.jakarta.regexp.user
Message-ID <[email protected]>
>"Jon Gorrono" <[email protected]> schrieb im Newsbeitrag 
>news:[email protected]...
>'-xyz' literal does not match the '-end' literal... if you want to
>match any three-character ending you'll need something like '-...' in
>the regexp
>
>Also, I can't recall of the dash needs to be escaped outside a
>square-bracket operator pair, but it might be interpreted as a range
>operator here.

May be, but what's the solution, i. e. how must the RegExp statement be 
written, that texts like "mytext-end" are not matched?

Thomas Wiedmann