[Cialug] Text file munging
chris
chris at ia.gov
Thu Jun 18 14:53:05 CDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> Well, that could cause problems if there are other tags between the end
> of </key> and beginning of </string> since the regex will be greedy. It
> will actually match <key>.+</strong>
>
> So <(key|string)>[^<]+</(key|string)> would work better, right?
>
Yes! Good catch. :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAko6myEACgkQPmaZdRmQd+YkxgCcCu2R0ipZqGU7ovTMVkgWb1kD
ZT0AnRAo9pw30oK1Dv7BbmSj8sP91KW6
=4LCZ
-----END PGP SIGNATURE-----
More information about the Cialug
mailing list