home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


match

match( s , r )

Function that matches the pattern, specified by the regular expression r , in the string s , and returns either the position in s , where the match begins, or 0 if no occurrences are found. Sets the values of RSTART and RLENGTH to the start and length of the match, respectively. {N}


Previous: Reference: log UNIX in a Nutshell: System V Edition Next: Reference: next
Reference: log Book Index Reference: next

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System