View Single Post
Old 10-21-2010, 02:09 PM   #17
bobcdy
Fanatic
bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.bobcdy ought to be getting tired of karma fortunes by now.
 
bobcdy's Avatar
 
Posts: 527
Karma: 1048576
Join Date: May 2009
Device: bebook; prs-950; nook simple touch; HTC Jetstream tablet
I downloaded UltraEdit and tried regex search with \s+ Did not work* although it worked with Sigil, but not with Notepad++. That's been my problem with regex all along. It seems that one needs to learn a new version of regex for each program one uses, and of course I never know which version is the correct one or how to find resources for that specific version. When I try to learn regex, I go to the internet and read a bit about it and try the examples. They usually don't work with either Sigil or Notepad++, and it seems that UltraEdit is not a solution for me because its version of regex, whatever it is, is not identical to that of Sigil. How does one ever learn regex? It's like trying to work with html, but with the added restriction that each application requires its own html version and other versions just won't work...and of course each application seems to keep it a secret about which is the precise version to use.

Least I sound too negative, here's a quote from a regex book:
"There is no official standard that defines exactly which text patterns are regular expressions and which aren’t. As you can imagine, every designer of programming languages and every developer of text processing applications has a different idea of exactly what a regular expression should be. So now we’re stuck with a whole palate of regular expression flavors."

(Regular Expressions Cookbook, by Jan Goyvaerts and Steven Levithan)

*after experimenting with UltraEdit, I found that choosing s+ worked fine with a choice of the Perl version of regex.
Bob

Last edited by bobcdy; 10-21-2010 at 02:47 PM. Reason: added new text
bobcdy is offline   Reply With Quote