System.RegularExpressions in uses clause

Hi,

I try use RegularExpressions unit in my Web Core application like below:

uses
  System.SysUtils, System.Classes, JS, Web, WEBLib.Graphics, WEBLib.Controls,
  WEBLib.Forms, WEBLib.Dialogs, XData.Web.Connection, Vcl.Controls, WEBLib.Login,
  XData.Web.Client, System.RegularExpressions;

but I get an error:

[Error] LoginFormFrm.pas(8): can't find unit "RegularExpressions"

In normal Delphi VCL application all is ok.

Why?

Regards

Sorry, at this moment the regular expressions unit has not yet been ported to the web RTL
You could directly use the JavaScript regular expression handling support by importing it via access through an ASM block

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions

i.e.

  asm
    // JavaScript code dealing with regular expression here
  end;