diff --git a/README-cn.md b/README-cn.md index 6f233a3..92a6243 100644 --- a/README-cn.md +++ b/README-cn.md @@ -26,7 +26,7 @@

-Regular expression + Regular expression

以上的正则表达式可以接受 `john_doe`, `jo-hn_doe`, `john12_as`. @@ -88,7 +88,7 @@ ## 2. 元字符 -正则表达式主要依赖于元字符. +正则表达式主要依赖于元字符. 元字符不代表他们本身的字面意思, 他们都有特殊的含义. 一些元字符写在方括号中的时候有一些特殊的意思. 以下是一些元字符的介绍: |元字符|描述| diff --git a/img/regexp-en.png b/img/regexp-en.png index f233149..c38c90f 100644 Binary files a/img/regexp-en.png and b/img/regexp-en.png differ diff --git a/img/regexp-es.png b/img/regexp-es.png index 3efa6ee..b8a7624 100644 Binary files a/img/regexp-es.png and b/img/regexp-es.png differ diff --git a/img/regexp-fr.png b/img/regexp-fr.png index 26e0c9e..7712d2e 100644 Binary files a/img/regexp-fr.png and b/img/regexp-fr.png differ diff --git a/img/regexp.svg b/img/regexp.svg index f08690b..50ea7c7 100644 --- a/img/regexp.svg +++ b/img/regexp.svg @@ -17,7 +17,7 @@ version="1.1" inkscape:version="0.91 r13725" sodipodi:docname="regexp.svg" - inkscape:export-filename="/home/nbo/dev/learn-regex/img/regexp-fr.png" + inkscape:export-filename="/home/nbo/dev/learn-regex/img/regexp-es.png" inkscape:export-xdpi="90" inkscape:export-ydpi="90"> + inkscape:window-maximized="1" /> <metadata id="metadata7"> <rdf:RDF> @@ -216,7 +216,7 @@ id="tspan4268" x="171.65625" y="204.00377" - style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:30.00000191px;font-family:monospace;-inkscape-font-specification:'monospace Bold'">^[a-z0-9_-]{3,15]$</tspan></text> + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:30.00000191px;font-family:monospace;-inkscape-font-specification:'monospace Bold'">^[a-z0-9_-]{3,15}$</tspan></text> </g> </g> </g> @@ -304,7 +304,7 @@ y="204.00377" x="171.65625" id="tspan4253" - sodipodi:role="line">^[a-z0-9_-]{3,15]$</tspan></text> + sodipodi:role="line">^[a-z0-9_-]{3,15}$</tspan></text> </g> </g> </g> @@ -390,7 +390,7 @@ y="204.00377" x="171.65625" id="tspan4302" - sodipodi:role="line">^[a-z0-9_-]{3,15]$</tspan></text> + sodipodi:role="line">^[a-z0-9_-]{3,15}$</tspan></text> </g> </g> </g>