View Single Post
Old 03-17-2016, 10:58 PM   #1
David Kudler
Enthusiast
David Kudler knows the difference between 'who' and 'whom'David Kudler knows the difference between 'who' and 'whom'David Kudler knows the difference between 'who' and 'whom'David Kudler knows the difference between 'who' and 'whom'David Kudler knows the difference between 'who' and 'whom'David Kudler knows the difference between 'who' and 'whom'David Kudler knows the difference between 'who' and 'whom'David Kudler knows the difference between 'who' and 'whom'David Kudler knows the difference between 'who' and 'whom'David Kudler knows the difference between 'who' and 'whom'David Kudler knows the difference between 'who' and 'whom'
 
David Kudler's Avatar
 
Posts: 48
Karma: 10000
Join Date: Apr 2011
Device: iPad
Question Regex wildcard trouble

Hi. Time for what is probably another stupid question.

I've been loving 0.9.4 — the ability to work with ePub3 is great, and the whole app is running more smoothly for me.

Except that I went to do a wildcard Regex search today — something I've done thousands of times... and it didn't behave normally.

The search was
Code:
mybook\.to(.*)
Every time I do a search, it finds
Code:
mybook.to
But it won't find the rest of the URL. When I tried
Code:
mybook\.to(.+)
it selected ONE more character: the forward slash. But the rest of the URL remained unselected.

I've got all four of the check boxes selected, but I also tried turning each of them off to no avail.

I'm running Sigil 0.9.4 on a Mac that sports OS X 10.11.3. (It's a MacBook Pro mid-2012 with a 2.9 GHz Intel Core i7 and 8GB of RAM, if that matters, which I am sure it doesn't.) All of the various libraries are up to date — I made sure when I undated last week.

What am I doing wrong?

(FWIW, I'm replacing Amazon links with links to my website so that I can use the ebook on other vendor sites. There are 84 of them; I'd really rather not go through and change them one by one. But besides, I use regex all of the time, and if it isn't going to behave, I need to find another option.)

Last edited by David Kudler; 03-17-2016 at 11:02 PM.
David Kudler is offline   Reply With Quote