<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>regex on Shylock Hg</title>
    <link>/tags/regex/</link>
    <description>Recent content in regex on Shylock Hg</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 05 Apr 2018 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="/tags/regex/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Flavor Of Regular Expression</title>
      <link>/post/2018/04/05/flavor-of-regular-expression/</link>
      <pubDate>Thu, 05 Apr 2018 00:00:00 +0000</pubDate>
      
      <guid>/post/2018/04/05/flavor-of-regular-expression/</guid>
      <description>POSIX It&amp;rsquo;s POSIX specification for regular expression in UNIX-like environment tools,such as vim,sed,awk,grep.
BRE |Metacharacters|Meaning| |:&amp;ndash;|:&amp;ndash;| |.|match any one character| |\\|escape character| |[|| |^|anchor for start of characters,complement set in backet expression| |$|anchor for end of characters| |*||
note:in GNU implement,you can use ERE special metacharacters by \\. BRE tools:sed,grep
ERE |Metacharacters|Meaning| |:&amp;ndash;|:&amp;ndash;| |(|| |)|| |{|| |}|| |+|| |?|| |\|||
note:ERE include all BRE metachatacters. ERE tools:awk,egrep,sed -E
POSIT character class example: [:digit:]</description>
    </item>
    
    <item>
      <title>Overview of Regular Expression!</title>
      <link>/post/2018/03/31/overview-of-regular-expression/</link>
      <pubDate>Sat, 31 Mar 2018 00:00:00 +0000</pubDate>
      
      <guid>/post/2018/03/31/overview-of-regular-expression/</guid>
      <description> Base elements  literal characters,(eg.abc) meta characters,(eg..)  note:all valid regex is composed by printable ascii characters
reducing rules  position
 anchor,(eg.$) lookground,(eg.``)  set
 character class,(eg.[0-9]) shorthand,(eg.\d) unicode properties,(eg.\p{L}) dot match,(eg..)  escape character
 non-printable characters,(eg.\t) literal meta characters,(eg.\\) non ascii characters,(eg.\uFFFF)  logic
 alternation,(eg.a|b) repetition(greedy,lazy),(eg.[0-9]+)  grouping and caturing
 group,(eg.set(Value)?) group without caturing,((eg.set(?:Value)?) back reference,(eg.([abc])=\1) named group,(eg.(?&amp;lt;mygroup&amp;gt;[abc])=\k&amp;lt;mygroup&amp;gt;)   </description>
    </item>
    
  </channel>
</rss>