qtil
advanced-security/qtil-ruby 0.0.2
Search

Member predicate Impl::RegExpTerm::getConstantValue

Gets the single string this regular-expression term matches.

This predicate is only defined for (sequences/groups of) constant regular expressions. In particular, terms involving zero-width assertions like ^ or \b are not considered to have a constant value.

Note that this predicate does not take flags of the enclosing regular-expression literal into account.

string getConstantValue()