Lines Matching defs:regex

21 package com.sun.org.apache.xerces.internal.impl.xpath.regex;
40 * RegularExpression re = new RegularExpression(<var>regex</var>);
47 * RegularExpression re = new RegularExpression(<var>regex</var>);
58 * RegularExpression re = new RegularExpression(<var>regex</var>, "i");
63 * <p>You can specify options to <a href="#RegularExpression(java.lang.String, java.lang.String)"><code>RegularExpression(</code><var>regex</var><code>, </code><var>options</var><code>)</code></a>
64 * or <a href="#setPattern(java.lang.String, java.lang.String)"><code>setPattern(</code><var>regex</var><code>, </code><var>options</var><code>)</code></a>.
323 * after <code><a href="#matches(java.lang.String, com.sun.org.apache.xerces.internal.utils.regex.Match)">matches(String,Match)</a></code>.
432 * regex ::= ('(?' options ')')? term ('|' term)*
437 * atom ::= char | '.' | char-class | '(' regex ')' | '(?:' regex ')' | '\' [0-9]
439 * | '(?>' regex ')' | '(?' options ':' regex ')'
443 * looks ::= '(?=' regex ')' | '(?!' regex ')'
444 * | '(?&lt;=' regex ')' | '(?&lt;!' regex ')'
1721 String regex;
2240 * @param regex A regular expression
2241 * @exception org.apache.xerces.utils.regex.ParseException <VAR>regex</VAR> is not conforming to the syntax.
2243 public RegularExpression(String regex) throws ParseException {
2244 this(regex, null);
2250 * @param regex A regular expression
2252 * @exception org.apache.xerces.utils.regex.ParseException <VAR>regex</VAR> is not conforming to the syntax.
2254 public RegularExpression(String regex, String options) throws ParseException {
2255 this.setPattern(regex, options);
2261 * @param regex A regular expression
2263 * @exception org.apache.xerces.utils.regex.ParseException <VAR>regex</VAR> is not conforming to the syntax.
2265 public RegularExpression(String regex, String options, Locale locale) throws ParseException {
2266 this.setPattern(regex, options, locale);
2269 RegularExpression(String regex, Token tok, int parens, boolean hasBackReferences, int options) {
2270 this.regex = regex;
2289 this.regex = newPattern;
2293 this.tokentree = rp.parse(this.regex, this.options);
2315 return this.regex;
2345 return this.regex.equals(r.regex) && this.options == r.options;
2349 return this.regex.equals(pattern) && this.options == options;
2356 return (this.regex+"/"+this.getOptions()).hashCode();