diff --git a/tool/net/help.txt b/tool/net/help.txt index d28a856f7..697262b39 100644 --- a/tool/net/help.txt +++ b/tool/net/help.txt @@ -1186,14 +1186,18 @@ RE MODULE This flag may only be used with re.compile and re.search. re.ICASE - Use this flag to make your pattern case ASCII case-insensitive. - This flag may only be used with re.compile and re.search. - - re.NEWLINE Use this flag to make your pattern case ASCII case-insensitive. This means [a-z] will mean the same thing as [A-Za-z]. This flag may only be used with re.compile and re.search. + re.NEWLINE + Use this flag to change the handling of NEWLINE (\x0a) characters. + When this flag is set, (1) a NEWLINE shall not be matched by a "." + or any form of a non-matching list, (2) a "^" shall match the + zero-length string immediately after a NEWLINE (regardless of + re.NOTBOL), and (3) a "$" shall match the zero-length string + immediately before a NEWLINE (regardless of re.NOTEOL). + re.NOSUB Causes re.search to only report success and failure. This is reported via the API by returning empty string for success. This @@ -1202,12 +1206,12 @@ RE MODULE re.NOTBOL The first character of the string pointed to by string is not the beginning of the line. This flag may only be used with re.search - and regex_t*:search + and regex_t*:search. re.NOTEOL The last character of the string pointed to by string is not the end of the line. This flag may only be used with re.search and - regex_t*:search + regex_t*:search. CONSTANTS