Compare Revisions

Working with Regular Expressions

Change Revisions

Revision 118354:

Revision 118354 by Spooty on

Revision 118355:

Revision 118355 by Spooty on

Title:
Working with Regular Expressions
Working with Regular Expressions
Slug:
JavaScript/Guide/Obsolete_Pages/Working_with_Regular_Expressions
JavaScript/Guide/Obsolete_Pages/Working_with_Regular_Expressions
Content:

Revision 118354
Revision 118355
t226      As shown in the second form of this example, you can use tht226      As shown in the second form of this example, you can use 
>e a regular expression created with an object initializer without>regular expression created with an object initializer without ass
> assigning it to a variable. If you do, however, every occurrence>igning it to a variable. If you do, however, every occurrence is 
> is a new regular expression. For this reason, if you use this fo>a new regular expression. For this reason, if you use this form w
>rm without assigning it to a variable, you cannot subsequently ac>ithout assigning it to a variable, you cannot subsequently access
>cess the properties of that regular expression. For example, assu> the properties of that regular expression. For example, assume y
>me you have this script:>ou have this script:

Back to History