View Single Post
Old 02-06-2018, 01:26 PM   #9
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,842
Karma: 6120478
Join Date: Nov 2009
Device: many
Tried the following on a Mac and it worked just fine (ie. it was greedy as expected)
Code:
regular expression was
3{2,4}
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<p>&nbsp;</p>
p>&nbsp;There is an: B C 1 2 3</p>
<p>&nbsp;There is an: 1 2 333</p>
</body>
</html>
It it properly found the 333 which is what I expected. So min and max match counts work properly on a Mac as well.

Would someone please try this on Windows and let me know if it works correctly or not.

Last edited by KevinH; 02-06-2018 at 03:50 PM.
KevinH is offline   Reply With Quote