Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 101 - Back Quote  (Read 2732 times)
Reuben B.
Four Js
Posts: 1033

« on: November 14, 2021, 11:30:30 pm »

Regular expressions were added in Genero Enterprise 4.00. No longer do you need to use IMPORT JAVA in order to code regular expressions.  You can use the new methods introduced in 4.00 as part of the util.Regexp class as well as the additional methods added to the STRING data-type.
During the Early Access Program, something became very apparent. If you copied a regular expression directly from a website such as Stack Overflow you would not get the expected matches. This was because our existing text literals and regular expression pattern matchers have different uses for the back slash character.
The solution was a new text literal delimiter using the back quote character.  If this was used, back slash did not have the special meaning for text literals, and so it could be used for regular expression pattern matching.

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of
Contributor to
Pages: [1]
  Reply  |  Print  
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines