Regular expression syntax: Difference between revisions

From wiki.jriver.com
Jump to navigation Jump to search
(sorry, big rewrite.)
No edit summary
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
The [[Expression_Language#Regex | Regex()]] function in Media Center's expression language supporting regular expression pattern matching is implemented using external regular expression libraries.
The [[Regex()]] function in Media Center's expression language supporting regular expression pattern matching is implemented using external regular expression libraries.


== Media Center 19 ==
== Media Center 26 and Later ==
Media Center 26 and later uses the standard regex implementation available in newer versions of C++, using the default ECMAScript grammar. It's the same syntax as the boost regex, just without a megabyte or two of additional dependencies. Note that this update may have occurred earlier than Media Center 26, [https://yabb.jriver.com/interact/index.php/topic,124543.msg870473.html#msg870473 but was first mentioned during its development cycle.]
In Media Center 19, the [[Expression_Language#Regex | Regex()]] function is implemented using the Boost C++ library, version 1.54. While Boost supports several flavors of regular expressions, the mode enabled in Media Center is the [http://www.boost.org/doc/libs/1_54_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html Perl Regular Expression Syntax].


== Media Center 18 and earlier ==
== Media Center 19 and Later ==
In Media Center 18 and earlier, the [[Expression_Language#Regex | Regex()]] function was implemented using the [http://msdn.microsoft.com/en-us/library/bb982727(v=vs.100).aspx Microsoft 2010 TR1 engine].
In Media Center 19, the [[Regex()]] function is implemented using the Boost C++ library, version 1.54. While Boost supports several flavors of regular expressions, the mode enabled in Media Center is the [http://www.boost.org/doc/libs/1_54_0/libs/regex/doc/html/boost_regex/syntax/perl_syntax.html Perl Regular Expression Syntax].

== Media Center 18 and Earlier ==
In Media Center 18 and earlier, the [[Regex()]] function was implemented using the [http://msdn.microsoft.com/en-us/library/bb982727(v=vs.100).aspx Microsoft 2010 TR1 engine].

[[Category:Expression Functions]]

Latest revision as of 06:55, 14 June 2020

The Regex() function in Media Center's expression language supporting regular expression pattern matching is implemented using external regular expression libraries.

Media Center 26 and Later

Media Center 26 and later uses the standard regex implementation available in newer versions of C++, using the default ECMAScript grammar. It's the same syntax as the boost regex, just without a megabyte or two of additional dependencies. Note that this update may have occurred earlier than Media Center 26, but was first mentioned during its development cycle.

Media Center 19 and Later

In Media Center 19, the Regex() function is implemented using the Boost C++ library, version 1.54. While Boost supports several flavors of regular expressions, the mode enabled in Media Center is the Perl Regular Expression Syntax.

Media Center 18 and Earlier

In Media Center 18 and earlier, the Regex() function was implemented using the Microsoft 2010 TR1 engine.