रेग्युलर एक्सप्रेशन इंजिन की तुलना

यहाँ रेग्युलर एक्सप्रेशन के इंजनों की विभिन्न दृष्टियों से तुलना की गयी है।

लाइब्रेरी

+ रेग्युलर इक्सप्रेशन की लाइब्रेरियों की सूची नाम वेबसाइट प्रोग्रामन भाषा सॉफ्टवेयर लाइसेंस कहाँ प्रयुक्त  Boost.Regex Boost C++ Libraries C++  Notepad++ >= 6.0.0, EmEditor BoostXpressive Boost C++ Libraries C++    CL-PPCRE Edi Weitz Common Lisp    cppre Jeff Stuart C++    DEELX RegExLab C++  personal and commercial use   FREJ Fuzzy Regular Expressions for Java Java    GLib/GRegex GLib reference manual C    GRETA Microsoft Research C++    Helios RXPF Titan IC RTL   hardware accelerated regex engine for cybersecurity OEMs   ICU International Components for Unicode C, C++ Foundation (Apple and Swift open-source versions) Jakarta/Regexp The Apache Jakarta Project Java    java.util.regex Java's User manual Java  Java license jEdit JRegex JRegex Java    Oniguruma Kosako C  Atom, Take Command Console, Tera Term, TextMate, Sublime Text, SubEthaEdit, EmEditor and jq Pattwo Stevesoft Java (compatible with Java 1.0)    PCRE pcre.org C, C++  Nginx, Julia, HHVM, Notepad++ < 6.0.0, PHP Qt/QRegExp Digia C++  Kate, Kile regex - Henry Spencer's regular expression libraries ArgList C    RE2 RE2 C++    Henry Spencer's Advanced Regular Expressions  Tcl C    Hyperscan Intel C, x86-specific assembly (SSSE3+)  SubReg Matt Bucknall C    TRE Ville Laurikari C    TPerlRegEx TPerlRegEx VCL Component Object Pascal    TRegExpr RegExp Studio Object Pascal  Total Commander RGX RGX  C++ based component library    XRegExp XRegExp JavaScript    Wolfram Language (Mathematica) Wolfram Language Documentation Center Wolfram Language  Mathematica, the Wolfram Development Platform

भाषाएँ
+ उन प्रोग्रामन भाषाओं की सूची जिनमें रेग्युलर इक्सप्रेसन का उपयोग हुआ है। भाषा जालस्थल सॉफ्टवेयर लाइसेंस टिप्पणी .NET MSDN   POSIX C (C) libc/regex from BSD BSD According to regex(3), available from at least 4.4BSD (if not earlier) C++11 (C++) C++ standards website  Since ISO14822:2011(e) D D   Go Golang.org   Haskell Haskell.org  Omitted in the language report, and in GHC's Hierarchical Libraries Java Java  REs are written as strings in source code: all backslashes must be doubled, harming readability. JavaScript (ECMAScript) ECMA-262  Limited but REs are first-class citizens of the language with a specific /.../mod syntax. Julia JuliaLang.org  REs are part of the language core library using PCRE built-in and an optional wrapper for (C code) ICU is available. Lua Lua.org  Uses simplified, limited dialect; can be bound to more powerful library, like PCRE or an alternative parser like LPeg. Mathematica Wolfram Proprietary Nim nim-lang.org  Standard library includes PCRE-based re and nre modules, as well as various alternatives (ex. strutils, pegs (Parsing Expression Grammar matching), strscans, parseutils, etc). Free Pascal (Object Pascal) www.freepascal.org  Free Pascal 2.6+ ships with TRegExpr from Sorokin and two other regular expression libraries; See wiki.lazarus.freepascal.org/Regexpr. OCaml Caml  , the standard module is generally regarded as deprecated; often recommended libraries are pcre (with full support for PCRE) and re (which is not as complete but claims better performance and provides frontends to popular syntaxes: PCRE, Perl, Posix, Emacs, shell globbing). Perl Perl.com  Full, central part of the language PHP PHP.net  Has two implementations, with PCRE being the more efficient in speed, functions Python python.org  Python has two major implementations, the built in re and the regex library. Ruby ruby-doc.org  Ruby 1.8 and 1.9 use different engines; 1.9 integrates Oniguruma. SAP ABAP SAP.com   Tcl tcl.tk  Tcl library doubles as a regular expression library. ActionScript 3 ActionScript Technology Center   Wolfram Language Wolfram Research Proprietary; usable for free on a limited scale on the Wolfram Development platform.

भाषाओं के प्रमुख विशेषताएँ
NOTE: An application using a library for regular expression support does not necessarily offer the full set of features of the library, e.g. GNU grep which uses PCRE does not offer lookahead support, though PCRE does.

भाग 1
+ Language feature comparison (part 1) "+" quantifier Negated character classes Non-greedy quantifiers Shy groups Recursion Look-ahead Look-behind Backreferences >9 indexable captures Boost.Regex          Boost.Xpressive          CL-PPCRE          EmEditor          FREJ          GLib/GRegex          GNU grep          Haskell          Helios RXPF          ICU Regex          Java          JavaScript (ECMAScript)          JGsoft          Lua          .NET          OCaml          OmniOutliner 3.6.2          PCRE          Perl          PHP          Python          Qt/QRegExp          R          RE2          Ruby          TRE          Vim           RGX          Tcl           TRegExpr          XRegExp         

भाग 2
+ Language feature comparison (part 2) Directives Conditionals Atomic groups Named capture Comments Embedded code Unicode property support  Balancing groups Variable-length look-behinds Boost.Regex          Boost.Xpressive          CL-PPCRE          EmEditor          FREJ          GLib/GRegex          GNU grep          Haskell          Helios RXPF          ICU Regex          Java          JavaScript (ECMAScript)          JGsoft          Lua          .NET          OCaml          OmniOutliner 3.6.2          PCRE           Perl          PHP          Python          Qt/QRegExp          RE2   ?       Ruby          Tcl          TRE          Vim           RGX          XRegExp Leading only        

API की विशेषताएँ
+ API feature comparison Native UTF-16 support Native UTF-8 support  Multi-line matching Partial match Boost.Regex     GLib/GRegex      Helios RXPF      ICU Regex      Java     .NET     PCRE     Qt/QRegExp     Tcl     TRE     RGX     wxWdigets::wxRegEx     XRegExp    

इन्हें भी देखें
 रेग्युलर इक्सप्रेशन

सन्दर्ह

बाहरी कड़ियाँ
 Regular Expression Flavor Comparison — Detailed comparison of the most popular regular expression flavors
 Regexp Syntax Summary
 Online Regular Expression Testing — with support for Java, JavaScript, .Net, PHP, Python and Ruby
 Implementing Regular Expressions — series of articles by Russ Cox, author of RE2
 Regular Expression Engines

Category:पैटर्न खोज
Category:रेग्युलर इक्सप्रेशन