mozilla

Compare Revisions

RegExp

Change Revisions

Revision 105797:

Revision 105797 by Mozai on

Revision 105798:

Revision 105798 by AdmiralNovia on

Title:
RegExp
RegExp
Slug:
Talk:JavaScript/Reference/Global_Objects/RegExp
Talk:JavaScript/Reference/Global_Objects/RegExp
Content:

Revision 105797
Revision 105798
tt25    <p>
26      Yeah, how strange that they included the 'm' flag but negle
 >cted the 's' flag. In any case, this is a little more intuative:
27    </p>
28    <pre class="eval">
29/One(.|\n)+/m
30</pre>
31    <p>
32      this might better handle various line-ending characters:
33    </p>
34    <pre class="eval">
35/One(.|\s)+/m
36</pre>
37    <p>
38      <a href="User:AdmiralNovia">AdmiralNovia</a> 17:47, 20 Marc
 >h 2006 (PST)
39    </p>

Back to History