Grep Regular Expressions: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 25: Line 25:
:[[Sed_Regular_Expressions#Non-Special_Characters_.28do_not_need_to_be_escaped_in_regular_expressions.29|sed: Non-Special Characters (do not need escaping in regular expressions)]]
:[[Sed_Regular_Expressions#Non-Special_Characters_.28do_not_need_to_be_escaped_in_regular_expressions.29|sed: Non-Special Characters (do not need escaping in regular expressions)]]
</blockquote>
</blockquote>
=Regular Expression Syntax=

Revision as of 22:32, 29 July 2017

Internal

Overview

^ - beginning of line

$ - end of line

\t - tab

digits: [0-9]* \d*

\. dot

Characters that need and do not need escaping:

sed: Special Characters (need to be escaped in regular expressions)
sed: Non-Special Characters (do not need escaping in regular expressions)

Regular Expression Syntax