system/src/sc/lang/pattern/Pattern.java
public static Pattern initURLPattern(Object pageType, String pattern) {
      Object res = initPattern(URLPatternLanguage.getURLPatternLanguage(), pageType, pattern);
      if (res instanceof ParseError) {
         throw new IllegalArgumentException("*** Parse error for URL pattern: " + pattern + " in: " + pageType + ": " + res);
      }
      Pattern pat = (Pattern) res;
      pat.init();
      return pat;
   }
/**
    * Initializes a pattern string written in the PatternLanguage.  Returns either a Pattern object or a ParseError if the pattern string is not valid
    * This variant uses the URLPatternLanguage to provide a known set of data types.
    */
Initializes a pattern string written in the PatternLanguage.  Returns either a Pattern object or a ParseError if the pattern string is not valid
This variant uses the URLPatternLanguage to provide a known set of data types.
Initializes a pattern string written in the PatternLanguage . Returns either a Pattern object or a ParseError if the pattern string is not valid This variant uses the URLPatternLanguage to provide a known set of data types .
public static Pattern initURLPattern(Object pageType, String pattern) {
      Object res = initPattern(URLPatternLanguage.getURLPatternLanguage(), pageType, pattern);
      if (res instanceof ParseError) {
         throw new IllegalArgumentException("*** Parse error for URL pattern: " + pattern + " in: " + pageType + ": " + res);
      }
      Pattern pat = (Pattern) res;
      pat.init();
      return pat;
   }
public static Pattern initURLPattern ( Object pageType , String pattern ) { Object res = initPattern ( URLPatternLanguage . getURLPatternLanguage ( ) , pageType , pattern ) ; if ( res instanceof ParseError ) { throw new IllegalArgumentException ( "*** Parse error for URL pattern: " + pattern + " in: " + pageType + ": " + res ) ; } Pattern pat = ( Pattern ) res ; pat . init ( ) ; return pat ; }
Initializes a pattern string written in the PatternLanguage.
Initializes a pattern string written in the PatternLanguage .