|  |  
 |   |   
 NAMEregex_search – Searches substring that matches a regular expression SYNOPSIS
 DESCRIPTIONregex_search() searches maximal subtring that the regular expression given as parameter matches. Copies all occurences found in the form of a list of string in the output parameter. The output parameter does not need to be allocated but will need to be freed. re The regular expression compiled using (regex_compile). input The input string to match against the regular expression matches This pointer contains a list of string that was allocated by the regex_search function. The string in the list are ordered in order of detection from left to right in the input string. This list will need to be freed by the user. RETURN VALUEregex_search() returns the size of the list of string that has been matched by the regular expression. EXAMPLESPrograms that returns all function defined in a C source file 
 
 
 |