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?