Regular Expressions

┌─────────────────────────┬──────────────┬─────────────────────────┬───────────┐
│ Function │ Header File │ Link to Function │ Descriptio│
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ regcomp │ "regex.h" │ regcomp │ Compiles │
│ │ │ │ a source │
│ │ │ │ regular │
│ │ │ │ expression│
│ │ │ │ into an │
│ │ │ │ execut- │
│ │ │ │ able │
│ │ │ │ version. │
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ regerror │ "regex.h" │ regerror │ Finds the │
│ │ │ │ descriptio│
│ │ │ │ for the │
│ │ │ │ error │
│ │ │ │ code for │
│ │ │ │ a regular │
│ │ │ │ expression│
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ regexec │ "regex.h" │ regexec │ Compares │
│ │ │ │ a string │
│ │ │ │ with a │
│ │ │ │ regular │
│ │ │ │ expression│
├─────────────────────────┼──────────────┼─────────────────────────┼───────────┤
│ regfree │ "regex.h" │ regfree │ Frees the │
│ │ │ │ memory │
│ │ │ │ for a │
│ │ │ │ regular │
│ │ │ │ expression│
│ │ │ │ removing │
│ │ │ │ the com- │
│ │ │ │ piled │
│ │ │ │ regular │
│ │ │ │ expression│
└─────────────────────────┴──────────────┴─────────────────────────┴───────────┘


[Back: Searching and Sorting]
[Next: Mathematical]