View Single Post
Old 02-06-2018, 04:02 AM   #1
Wasserpulle
Junior Member
Wasserpulle began at the beginning.
 
Wasserpulle's Avatar
 
Posts: 6
Karma: 10
Join Date: Dec 2013
Location: Europe
Device: Mediapad M3
Thumbs up Regex Search Repetition doesn't work?!

In the past I was using repetition searches like
Code:
[a-zA-Z]*
[0-9]{1,}
quite often using Sigil running on a Windows 7 machine. Recently I changed to a Windows 10 machine and suddenly those searches don't work anymore?
I've tested with several patterns like
{0,}, which is the same as * --> now finds nothing
{1,} being the same as + --> now finds exactly 1 character
{2,4} --> now finds exactly 2 and not the expected 2..4 characters
So it behaves completely strange and only finds the number of characters before the Comma, but no range...

In the first step I suspected Sigil and installed the previous version 0.9.8 in parallel (yes, that works, even it requires some renaming of folders), but it showed exactly the same behavior.

As far as I've seen regex is handled by the PCRE engine, but that doesn't seem to be dependent from Java versions etc, right?
Any idea where to look at?

Thanks for any hint!

Last edited by Wasserpulle; 02-09-2018 at 04:25 AM. Reason: problem solved
Wasserpulle is offline   Reply With Quote