Quantcast
Channel: Adobe Community: Message List - InDesign Scripting
Viewing all articles
Browse latest Browse all 37788

Re: RegEx Lazy mode bug in CS5

$
0
0

I'm not too sure about the limitations of ExtendScript's implementation of regular expressions, but this regex should work: \d+(\.\d\d\d)*(,\d+)?

 

If the problem with (\d+)? is the question mark, you could do (\d+){0,1} instead. If my regex has the same problem, you could use \d+(\.\d\d\d)*(,\d+){0,1} instead.


Viewing all articles
Browse latest Browse all 37788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>