| The GNU C Library | www.imodulo.com · 2003-04-05 | ||
| [ Software | Documentation | Contact ] |
These are the bit flags that you can use in the cflags operand when compiling a regular expression with regcomp.
REG_EXTENDEDTreat the pattern as an extended regular expression, rather than as a basic regular expression.
REG_ICASEIgnore case when matching letters.
REG_NOSUBDon't bother storing the contents of the matches-ptr array.
REG_NEWLINETreat a newline in string as dividing string into multiple lines, so that $ can match before the newline and ^ can match after. Also, don't permit . to match a newline, and don't permit [^...] to match a newline.
Otherwise, newline acts like any other ordinary character.
| © Free Software Foundation, Inc. |