Grep Regular Expressions: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * grep =Overview= <pre> ^ - beginning of line $ - end of line \t - tab digits: [0-9]* \d* \. dot </pre> Characters that need an...")
 
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:


* [[grep#Regular_Expressions|grep]]
* [[grep#Regular_Expressions|grep]]
* [[Regular Expressions]]


=Overview=
=Overview=
Line 24: 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=
<font color=red>TO NORMALIZE across [[Java_Regular_Expressions#Regular_Expression_Syntax|java Regular Expression Syntax]], [[Grep_Regular_Expressions#Regular_Expression_Syntax|grep Regular Expression Syntax]], [[Sed_Regular_Expressions#Regular_Expression_Syntax|sed Regular Expression Syntax]].</font>

Latest revision as of 23:14, 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

TO NORMALIZE across java Regular Expression Syntax, grep Regular Expression Syntax, sed Regular Expression Syntax.