XPCOM:nsIRegExpService: Difference between revisions

No edit summary
Line 4: Line 4:


== Use Cases ==
== Use Cases ==
* [[The schema-validation extension| http://lxr.mozilla.org/seamonkey/source/extensions/schema-validation/src/nsSchemaValidatorRegexp.js]] uses XPCOM to reach JavaScript for regular expression services.
* [[http://lxr.mozilla.org/seamonkey/source/extensions/schema-validation/src/nsSchemaValidatorRegexp.js| The schema-validation extension]] uses XPCOM to reach JavaScript for regular expression services.


* [[Web Forms 2.0| http://www.whatwg.org/specs/web-forms/current-work/#the-pattern]] requires for the pattern attribute of HTML form inputs that validation happen according to the ECMA-262 specification.  (WF2 cannot immediately use the schema-validation process, because WF2 would be built much earlier than schema-validation... not to mention that schema-validation is currently an extension.)
* [[http://www.whatwg.org/specs/web-forms/current-work/#the-pattern| Web Forms 2.0]] requires for the pattern attribute of HTML form inputs that validation happen according to the ECMA-262 specification.  (WF2 cannot immediately use the schema-validation process, because WF2 would be built much earlier than schema-validation... not to mention that schema-validation is currently an extension.)
Confirmed users
146

edits