@@ -347,10 +347,10 @@ \subsection{Regular Expression Syntax \label{re-syntax}}
347347equivalent to the set \regexp {[\textasciicircum \ \e t\e n\e r\e f\e v]}.
348348
349349\item [\code {\e w}]When the \constant {LOCALE} and \constant {UNICODE}
350- flags are not specified,
351- matches any alphanumeric character ; this is equivalent to the set
350+ flags are not specified, matches any alphanumeric character and the
351+ underscore ; this is equivalent to the set
352352\regexp {[a-zA-Z0-9_]}. With \constant {LOCALE}, it will match the set
353- \regexp {[0-9_]} plus whatever characters are defined as letters for
353+ \regexp {[0-9_]} plus whatever characters are defined as alphanumeric for
354354the current locale. If \constant {UNICODE} is set, this will match the
355355characters \regexp {[0-9_]} plus whatever is classified as alphanumeric
356356in the Unicode character properties database.
@@ -359,9 +359,9 @@ \subsection{Regular Expression Syntax \label{re-syntax}}
359359flags are not specified, matches any non-alphanumeric character; this
360360is equivalent to the set \regexp {[{\textasciicircum }a-zA-Z0-9_]}. With
361361\constant {LOCALE}, it will match any character not in the set
362- \regexp {[0-9_]}, and not defined as a letter for the current locale.
362+ \regexp {[0-9_]}, and not defined as alphanumeric for the current locale.
363363If \constant {UNICODE} is set, this will match anything other than
364- \regexp {[0-9_]} and characters marked at alphanumeric in the Unicode
364+ \regexp {[0-9_]} and characters marked as alphanumeric in the Unicode
365365character properties database.
366366
367367\item [\code {\e Z}]Matches only at the end of the string.
0 commit comments