aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/glossary/regular_expression/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/glossary/regular_expression/index.html')
-rw-r--r--files/zh-cn/glossary/regular_expression/index.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/files/zh-cn/glossary/regular_expression/index.html b/files/zh-cn/glossary/regular_expression/index.html
new file mode 100644
index 0000000000..34bf56464b
--- /dev/null
+++ b/files/zh-cn/glossary/regular_expression/index.html
@@ -0,0 +1,24 @@
+---
+title: Regular expression
+slug: Glossary/Regular_expression
+translation_of: Glossary/Regular_expression
+---
+<p><strong>正则表达式</strong>(<em>Regular expressions</em>或 <em>regex</em>)是决定了在搜索中使用何种字符串序列的规则。</p>
+
+<p>正则表达式在多种语言中都得到了实现,但是最知名的实现,当属Perl的实现。该实现引出了名为PCRE(<em>Perl Compatible Regular Expression</em>)的生态系统。 在Web中,{{glossary("JavaScript")}} 通过 {{jsxref("RegExp")}} 对象,给出了正则表达式的另一种实现。</p>
+
+<h2 id="了解更多">了解更多</h2>
+
+<h3 id="基本知识">基本知识</h3>
+
+<ul>
+ <li>在维基百科上的 {{Interwiki("wikipedia", "正则表达式")}}</li>
+ <li><a href="http://regexone.com/">互动教程</a></li>
+ <li><a href="http://regexper.com/">虚拟化的正则表达式</a></li>
+</ul>
+
+<h3 id="技术参考">技术参考</h3>
+
+<ul>
+ <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions">在JavaScript中写正则表达式</a></li>
+</ul>