Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regular expression syntax #55

Closed
JeniT opened this issue Oct 30, 2014 · 3 comments · Fixed by #173
Closed

Regular expression syntax #55

JeniT opened this issue Oct 30, 2014 · 3 comments · Fixed by #173

Comments

@JeniT
Copy link

JeniT commented Oct 30, 2014

What syntax should we use for regular expressions to test strings.

@JeniT
Copy link
Author

JeniT commented Oct 30, 2014

The obvious thing to use is the XML Schema regular expression syntax; another option would be to use ECMAScript regular expression syntax.

@danbri
Copy link
Contributor

danbri commented Oct 30, 2014

On 30 October 2014 11:10, Jeni Tennison notifications@github.com wrote:

The obvious thing to use is the XML Schema regular expression syntax
http://www.w3.org/TR/xmlschema11-2/#regexs; another option would be to
use ECMAScript regular expression syntax
http://ecma-international.org/ecma-262/5.1/#sec-15.10.

  • Richard Ishida, who may know if there is an I18N reason to choose between
    the options

Dan

@JeniT
Copy link
Author

JeniT commented Jan 14, 2015

Discussed 14/01/2015 - we'll spec to use ECMAScript, and encourage conservative use of regexes by authors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants