|
|
|
|
|
by kelseyfrancis
4505 days ago
|
|
> its hard to say if regex was appropriate or not I'd say it's never appropriate to parse XML with a regex. Even if you're just looking for something "inside a single tag", there are just too many gotchas like entities, CDATA sections, etc. Why bother with (or forget) any of that when there are well-tested XML libraries for probably every language, and many languages have it in their standard library. |
|