#| -*-Scheme-*-
-$Id: rexp.scm,v 1.23 2005/05/30 02:45:04 cph Exp $
+$Id: rexp.scm,v 1.24 2005/06/05 19:28:16 cph Exp $
Copyright 2000,2001,2002,2005 Massachusetts Institute of Technology
(define (rexp-n*n n . rexps)
(apply rexp-n*m n n rexps))
-(define (rexp-0*n n . rexps)
+(define (rexp-*n n . rexps)
(apply rexp-n*m 0 n rexps))
(define (rexp-n* n . rexps)
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.554 2005/06/03 13:32:27 cph Exp $
+$Id: runtime.pkg,v 14.555 2005/06/05 19:28:25 cph Exp $
Copyright 1988,1989,1990,1991,1992,1993 Massachusetts Institute of Technology
Copyright 1994,1995,1996,1997,1998,1999 Massachusetts Institute of Technology
(export ()
rexp*
rexp+
- rexp-0*n
+ rexp-*n
rexp->regexp
rexp-alternatives
rexp-any-char
#| -*-Scheme-*-
-$Id: url.scm,v 1.33 2005/06/04 23:48:25 cph Exp $
+$Id: url.scm,v 1.34 2005/06/05 19:28:32 cph Exp $
Copyright 2000,2001,2003,2004,2005 Massachusetts Institute of Technology
(alt rexp-alternatives)
(seq rexp-sequence)
(? rexp-optional))
- (alt (seq (rexp-n*n 6 h16 ":") ls32)
- (seq "::" (rexp-n*n 5 h16 ":") ls32)
- (seq (? h16) "::" (rexp-n*n 4 h16 ":") ls32)
- (seq (? (rexp-0*n 1 h16 ":") h16) "::" (rexp-n*n 3 h16 ":") ls32)
- (seq (? (rexp-0*n 2 h16 ":") h16) "::" (rexp-n*n 2 h16 ":") ls32)
- (seq (? (rexp-0*n 3 h16 ":") h16) "::" (rexp-n*n 1 h16 ":") ls32)
- (seq (? (rexp-0*n 4 h16 ":") h16) "::" ls32)
- (seq (? (rexp-0*n 5 h16 ":") h16) "::" h16 )
- (seq (? (rexp-0*n 6 h16 ":") h16) "::" ))))
+ (alt (seq (rexp-n*n 6 h16 ":") ls32)
+ (seq "::" (rexp-n*n 5 h16 ":") ls32)
+ (seq (? h16) "::" (rexp-n*n 4 h16 ":") ls32)
+ (seq (? (rexp-*n 1 h16 ":") h16) "::" (rexp-n*n 3 h16 ":") ls32)
+ (seq (? (rexp-*n 2 h16 ":") h16) "::" (rexp-n*n 2 h16 ":") ls32)
+ (seq (? (rexp-*n 3 h16 ":") h16) "::" (rexp-n*n 1 h16 ":") ls32)
+ (seq (? (rexp-*n 4 h16 ":") h16) "::" ls32)
+ (seq (? (rexp-*n 5 h16 ":") h16) "::" h16 )
+ (seq (? (rexp-*n 6 h16 ":") h16) "::" ))))
(define (uri-rexp:h16)
(rexp-n*m 1 4 char-set:uri-hex))