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 111 - Regex Compile  (Read 3208 times)
Reuben B.
Four Js
Posts: 1048

« on: February 21, 2022, 02:12:48 am »

An interesting question that was posed, with the new Regular Expression functionality added in 4.00, is it better to use the new string.matches method or the util.regexp.matches method?
One of the factors you should take into account is how many times will this be executed versus complexity of your code.  This can be shown with use of the profiler.

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