Haxe Code Cookbook

ereg

Overview of Haxe code snippets, examples and tutorials tagged with ereg.

  • Apr 13, 2016 Abstract types /

     abstract-type ereg validation

    The following EmailAddress Abstract type example is based on the underlying standard String type, but sets the restriction that it can only represent a valid email address. If not, an exception will be thrown.‥

  • Sep 23, 2016 Beginner /

     ereg

    In Haxe a regular expression starts with ~/ and ends with a single / and is of type EReg.‥