On Tue, May 25, 2010 at 05:54:58PM -0600, LuKreme wrote:
> Doesn't \s+? mean the white space is optional?

\s+ means match one or more whitespace characters, and as many as possible.
\s+? means match one or more whitespace characters, and as few as possible.
Either way there must be at least one whitespace character.

\s* means zero or more whitespace characters; \s? means zero or one
whitespace characters.  They also have non-greedy versions: \s*? and \s??.

Ronald

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.

Reply via email to