Lloyd Zusman <[EMAIL PROTECTED]> writes:

> And this brings up another question:
> 
> Consider the following regex fragment within a TMDA rule:
> 
>   [^<>@]*
> 
> My intention is for it to match the longest string within a single line
> that does not contain the characters '<', '>', or '@'.  But will this
> pattern match a newline or not?  If I don't want it to match a newline,
> do I have to render it as follows?
> 
>   [^<>@\n]*

Yes, the first will match a newline, the second won't.


Tim

_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to