RegExp.test

Test s[] starting at startindex against regular expression.

  1. bool test(string s)
  2. int test()
  3. int test(string s, size_t startindex)
    class RegExp
    int
    test
    (
    string s
    ,
    size_t startindex
    )

Return Value

Type: int

0 for no match, !=0 for match

Meta