Thread: Regex examples
View Single Post
Old 03-18-2013, 04:21 PM   #216
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by ReaderRabbit View Post
I thought this would work too, but it does not work for me
It works fine with my Sigil 7.1. version. Are you sure that you've selected the regex mode?
If all else fails, you could simply buy the book.

Quote:
Originally Posted by theducks View Post
aren't the outer brackets supposed to be curved?
No, [[:upper:]] is a POSIX character class and the two curly brackets after it specify 2 or more occurrences.
Of course, you'll also need to add two additional curved brackets around the Regex to define the backreference.
Doitsu is offline   Reply With Quote