Compare Revisions

RegExp

Change Revisions

Revision 488727:

Revision 488727 by fscholz on

Revision 490327:

Revision 490327 by pizzaisdavid on

Title:
RegExp
RegExp
Slug:
Web/JavaScript/Reference/Global_Objects/RegExp
Web/JavaScript/Reference/Global_Objects/RegExp
Tags:
"NeedsMobileBrowserCompatibility", "NeedsBrowserCompatibility", "Constructor", "regexp", "Regular Expressions", "JavaScript"
"NeedsMobileBrowserCompatibility", "NeedsBrowserCompatibility", "Constructor", "regexp", "Regular Expressions", "JavaScript"
Content:

Revision 488727
Revision 490327
t638              For example, <code>/a{1,3}/</code> matches nothing t638              For example, <code>/a{1,3}/</code> matches nothing 
>in "cndy", the 'a' in "candy," the first two a's in "caandy," and>in "cndy", the 'a' in "candy," the two a's in "caandy," and the f
> the first three a's in "caaaaaaandy". Notice that when matching >irst three a's in "caaaaaaandy". Notice that when matching "caaaa
>"caaaaaaandy", the match is "aaa", even though the original strin>aaandy", the match is "aaa", even though the original string had 
>g had more a's in it.>more a's in it.

Back to History