[tpm] Weird Regex Replace Problem
Liam R E Quin
liam at holoweb.net
Thu Sep 10 21:55:36 PDT 2020
On Fri, 2020-09-11 at 00:16 -0400, tpm.ats at spamgourmet.com wrote:
> So weird. Maybe it is the long 15hr working effect, but I just can't
> figure it out myself now.
>
> Please take a look at
>
> https://regex101.com/r/Hb7gjk/1
I didn't look in detail but instead of .*?Infos you pobably want
[^\s]*Infos
(or \S*Infos but i find that a little error-prone).
If you are trying to format the JavaScript why not use a prettyprinter?
Liam
PS: sorry if you get this twice, sent with the wrong address first time
--
Liam Quin, https://www.delightfulcomputing.com/
Available for XML/Document/Information Architecture/XSLT/
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
Barefoot Web-slave, antique illustrations: http://www.fromoldbooks.org
More information about the toronto-pm
mailing list