[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
howtos:general_admin:cli_constructs_and_useful_info [2012/12/24 12:08 (UTC)] – [Regex] hazelhowtos:general_admin:cli_constructs_and_useful_info [2012/12/24 12:11 (UTC)] – [Regular expressions] hazel
Line 174: Line 174:
     * Example: ''\<[tT]he\>'' matches the word ''the'' or ''The''.     * Example: ''\<[tT]he\>'' matches the word ''the'' or ''The''.
   * ''*'' matches any number of the previous character or nothing = no character. Example: ''[0-9]*'' which will match any number of numbers. ''.*'' matches any number of anything.   * ''*'' matches any number of the previous character or nothing = no character. Example: ''[0-9]*'' which will match any number of numbers. ''.*'' matches any number of anything.
-=== Extended ===+=== Extended regular expressions ===
 The following must be supported by the program for them to work. For example for grep you must run ''egrep'' or ''grep -E''. The following must be supported by the program for them to work. For example for grep you must run ''egrep'' or ''grep -E''.
   * ''+'' matches any number of the previous character, like ''*'', but there must be at least one to match, so it will not match nothing or no character.   * ''+'' matches any number of the previous character, like ''*'', but there must be at least one to match, so it will not match nothing or no character.
 howtos:general_admin:cli_constructs_and_useful_info ()