manos wrote:
> I'm working on an open source JS version [1] of WAX (Writing API for
> XML). Most unit tests work [2] , but I need a regexp that validates
> strings are proper XML names [3]. I suck at regexps :-/
Change that, then:
<http://oreilly.com/catalog/regex/chapter/ch04.html>
<http://developer.mozilla.org/En/Core_JavaScript_1.5_Reference:Global_Objects:RegEx p>
> [3] http://www.w3.org/TR/REC-xml/#NT-Name
Doesn't the ABNF already provide the approach?
PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf('MSIE 5') != -1
&& navigator.userAgent.indexOf('Mac') != -1
) // Plone, register_function.js:16