what is this regex matching?

Any questions involving matching text strings to patterns - the pattern is called a "regular expression."

Moderator: General Moderators

Post Reply
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: what is this regex matching?

Post by Christopher »

Well they are matching whole lines ^ to $. With any number of tabs before or after the words listed [\t]*. And with comments at the ends of the lines (#.*\).
(#10850)
User avatar
GeertDD
Forum Contributor
Posts: 274
Joined: Sun Oct 22, 2006 1:47 am
Location: Belgium

Re: what is this regex matching?

Post by GeertDD »

Those regexes are broken. There is no closing ) at the end.
Post Reply