mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-06 09:50:28 +00:00
Fix redbean re.NEWLINE documentation
This commit is contained in:
parent
d7ff346b52
commit
afa3d2b8ea
1 changed files with 10 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue