Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Voxera115857yFirst, not all parsers use regex. My parser for our templating solution do not since it has to handle some cases that regex is not well suited for, plain text mixed with script syntax, probably a bad script design decision in the beginning.
Secondly xml is a standard designed long ago and parsers should not deviate from that standard. -
Voxera115857y@willol no, but tokenizing often can use regex but if you have contextual differences you need different regex depending on context which can require tokenizing on demand which is a bit more complex.
Related Rants
-
codeblood14I finally built a new PC with 8GB memory, i7 4790K and SSD for OS. My old system was a core2duo with 2GB mem...
-
MrCSharp26JsonX is a an IBM standard to represent JSON in XML... Like wtf dude? What's the point in making shit even m...
-
kyleperik34XML sucks. Why can't we just use JSON everywhere?
Given that an XML parser probably/should uses a regex to find the beginning ("<--") and end ("-->") of a comment, WTF can I not use "--" inside one?
undefined
xml