At 23:27 -0400 on 08/16/2006, TjL wrote about More RegEx confusion:

I have a search/replace which looks for

" F[0-9]*"

(note leading space)

which I think ought to translate as "A space, a capital F [I click the
box for case sensitivity], followed immediately by 1 or more numbers

BUT it seems to match EVERY capital F following a space.

What am I missing?!?

You are getting what you are asking for. The * says "0 or more times". Since you want "1 or more times" use the + sign.

IOW: " F[0-9]+"


Thanks

TjL


--

Bob Rosenberg
RockMUG Webmaster
[EMAIL PROTECTED]
www.RockMUG.org

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to