time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

repl.txt (588B)


      1 
      2 {{alias}}()
      3     Returns a regular expression to match a native function.
      4 
      5     Returns
      6     -------
      7     re: RegExp
      8         Regular expression.
      9 
     10     Examples
     11     --------
     12     > var RE = {{alias}}();
     13     > var bool = RE.test( Date.toString() )
     14     true
     15     > bool = RE.test( (function noop() {}).toString() )
     16     false
     17 
     18 
     19 {{alias}}.REGEXP
     20     Regular expression to match a native function.
     21 
     22     Examples
     23     --------
     24     > var bool = {{alias}}.REGEXP.test( Date.toString() )
     25     true
     26     > bool = {{alias}}.REGEXP.test( (function noop() {}).toString() )
     27     false
     28 
     29     See Also
     30     --------
     31