People Matching occurrences of a string using metacharacters and regular characters The logic that the regular expression executes is as follows: Match any occurrence of the regular characters people in the file regex-content-01.html. In this case, the regular characters form the string people: $ grep -Po 'people' regex-content-01.html The following example matches occurrences of a set of regular characters in an HTML file named regex-content-01.html. Matching occurrences of a string using regular characters The following subsections match individual lines within a single file. If you provide a plain filename without a path, it refers to a file in the current working directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |