Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojo/regexp.js

  • Provides:

    • dojo.regexp
  • dojo.regexp

    • summary
      Regular expressions and Builder resources
    • type
      Object
  • dojo.regexp.escapeString

    • parameters:
      • str: (typeof String)
      • except: (typeof String)
        a String with special characters to be left unescaped
    • summary
      Adds escape sequences for special characters in regular expressions
    • type
      Function
  • dojo.regexp.buildGroupRE

    • parameters:
      • arr: (typeof Object|Array)
        A single value or an array of values.
      • re: (typeof Function)
        A function. Takes one parameter and converts it to a regular
        expression.
      • nonCapture: (typeof Boolean)
        If true, uses non-capturing match, otherwise matches are retained
        by regular expression. Defaults to false
    • returns
      String
    • summary
      Builds a regular expression that groups subexpressions
    • description
      A utility function used by some of the RE generators. The
      subexpressions are constructed by the function, re, in the second
      parameter.  re builds one subexpression for each elem in the array
      a, in the first parameter. Returns a string for a regular
      expression that groups all the subexpressions.
    • type
      Function
  • dojo.regexp.group

    • parameters:
      • expression: (typeof String)
      • nonCapture: (typeof Boolean)
        If true, uses non-capturing match, otherwise matches are retained
        by regular expression.
    • returns
      String
    • summary
      adds group match to expression
    • type
      Function
  • dojo

    • type
      Object