Thread: Regex engine?
View Single Post
Old 07-09-2010, 02:17 AM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,106
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by st_albert View Post
Just a reminder that when we say "regex" there are many variants of "regular expressions" that we may be talking about. I, myself, like to think of Perl Regex, even though "that way lies madness." But at least there are definitions. If you can follow them. See, e.g. http://perldoc.perl.org/perlre.html

It all depends on what you (or your regex variant) means by "string." In PERL it usually means a "line" i.e. whatever is between two lineend characters, but that need not be the case.

Sigil uses "almost" the Perl version of regex, via QT. I'm not sure how close that is to my understanding of ""regex."

Is your brain melting yet?
And what looks like a "line" may be part of a "Wrapped paragraph" in code view.
theducks is offline   Reply With Quote