Logo Search packages:      
Sourcecode: qt-x11-free version File versions

void QRegExp::setWildcard ( bool  wildcard  ) 

Sets the wildcard mode for the regular expression. The default is FALSE.

Setting wildcard to TRUE enables simple shell-like wildcard matching. (See wildcard matching (globbing) .)

For example, r*.txt matches the string {readme.txt} in wildcard mode, but does not match {readme}.

See also:
wildcard()

Definition at line 3520 of file qregexp.cpp.

{
    if ( wildcard != priv->wc ) {
      priv->wc = wildcard;
      invalidateEngine();
    }
}


Generated by  Doxygen 1.6.0   Back to index