Ed Leafe wrote:
> On Sep 1, 2010, at 4:55 PM, Ken Kixmoeller f/h wrote:
>       The '+' only means it will match one or more of what preceeds it.
>       The braces indicate a range of times a match is found: either a single 
> value (e.g.: x{3} will match 3 x characters in a row), or a range (e.g., 
> x{2,4} will match 2, 3 or 4 in a row).

Oh, thank you for such clear explanations. Now they make sense.


> if (document.form_general.passwordverify.value.search(/[a-zA-Z]+/) === -1) {

That was it. Many thanks for helping me understand. Since the examples I 
"google-mined" had the negation (!), I got it in my head that the 
.search  with RegEx would return a True or False value.


Ken

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to