Update to 2.0.2
git-svn-id: svn://bknr.net/svn/trunk/thirdparty/cl-ppcre@4453 4281704c-cde7-0310-8518-8e2dc76b1ff0
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
Version 2.0.2
|
||||||
|
2009-09-17
|
||||||
|
Fixed typo in chartest.lisp (caught by Peter Seibel)
|
||||||
|
Appease CCL (thanks to Hans H<>bner)
|
||||||
|
|
||||||
|
Version 2.0.1
|
||||||
|
2008-09-02
|
||||||
|
Fixed faulty declaration (caught by Brent Fulgham)
|
||||||
|
|
||||||
Version 2.0.0
|
Version 2.0.0
|
||||||
2008-07-24
|
2008-07-24
|
||||||
Added named properties (\p{foo})
|
Added named properties (\p{foo})
|
||||||
|
|||||||
4
api.lisp
4
api.lisp
@ -1,9 +1,9 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/api.lisp,v 1.84 2008/07/06 18:12:04 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/api.lisp,v 1.85 2009/09/17 19:17:30 edi Exp $
|
||||||
|
|
||||||
;;; The external API for creating and using scanners.
|
;;; The external API for creating and using scanners.
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/charmap.lisp,v 1.18 2008/07/22 23:54:59 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/charmap.lisp,v 1.19 2009/09/17 19:17:30 edi Exp $
|
||||||
|
|
||||||
;;; An optimized representation of sets of characters.
|
;;; An optimized representation of sets of characters.
|
||||||
|
|
||||||
;;; Copyright (c) 2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2008-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/charset.lisp,v 1.9 2008/07/23 00:47:58 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/charset.lisp,v 1.10 2009/09/17 19:17:30 edi Exp $
|
||||||
|
|
||||||
;;; A specialized set implementation for characters by Nikodemus Siivola.
|
;;; A specialized set implementation for characters by Nikodemus Siivola.
|
||||||
|
|
||||||
;;; Copyright (c) 2008, Nikodemus Siivola. All rights reserved.
|
;;; Copyright (c) 2008, Nikodemus Siivola. All rights reserved.
|
||||||
;;; Copyright (c) 2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2008-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/chartest.lisp,v 1.3 2008/07/23 00:47:58 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/chartest.lisp,v 1.5 2009/09/17 19:17:30 edi Exp $
|
||||||
|
|
||||||
;;; Copyright (c) 2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2008-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
@ -88,7 +88,7 @@ which contains either the set or its complement."
|
|||||||
(not (in-charset-p char charset)))))))
|
(not (in-charset-p char charset)))))))
|
||||||
((:hash-table :hash-table*)
|
((:hash-table :hash-table*)
|
||||||
(let ((hash-table (create-hash-table-from-test-function test-function start end)))
|
(let ((hash-table (create-hash-table-from-test-function test-function start end)))
|
||||||
(cond ((or (eq kind :charset)
|
(cond ((or (eq kind :hash-table)
|
||||||
(<= (hash-table-count hash-table) (ceiling (- end start) 2)))
|
(<= (hash-table-count hash-table) (ceiling (- end start) 2)))
|
||||||
(lambda (char)
|
(lambda (char)
|
||||||
(gethash char hash-table)))
|
(gethash char hash-table)))
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/cl-ppcre-unicode.asd,v 1.14 2008/07/22 14:19:44 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/cl-ppcre-unicode.asd,v 1.15 2009/09/17 19:17:30 edi Exp $
|
||||||
|
|
||||||
;;; This ASDF system definition was kindly provided by Marco Baringer.
|
;;; This ASDF system definition was kindly provided by Marco Baringer.
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/cl-ppcre-unicode/packages.lisp,v 1.2 2008/07/22 13:58:13 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/cl-ppcre-unicode/packages.lisp,v 1.3 2009/09/17 19:17:34 edi Exp $
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/cl-ppcre.asd,v 1.45 2008/07/23 02:14:06 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/cl-ppcre.asd,v 1.48 2009/09/17 19:17:30 edi Exp $
|
||||||
|
|
||||||
;;; This ASDF system definition was kindly provided by Marco Baringer.
|
;;; This ASDF system definition was kindly provided by Marco Baringer.
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
@ -37,7 +37,7 @@
|
|||||||
(in-package :cl-ppcre-asd)
|
(in-package :cl-ppcre-asd)
|
||||||
|
|
||||||
(defsystem :cl-ppcre
|
(defsystem :cl-ppcre
|
||||||
:version "2.0.0"
|
:version "2.0.2"
|
||||||
:serial t
|
:serial t
|
||||||
:components ((:file "packages")
|
:components ((:file "packages")
|
||||||
(:file "specials")
|
(:file "specials")
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/closures.lisp,v 1.44 2008/07/22 22:38:05 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/closures.lisp,v 1.45 2009/09/17 19:17:30 edi Exp $
|
||||||
|
|
||||||
;;; Here we create the closures which together build the final
|
;;; Here we create the closures which together build the final
|
||||||
;;; scanner.
|
;;; scanner.
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/convert.lisp,v 1.54 2008/07/23 02:14:06 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/convert.lisp,v 1.57 2009/09/17 19:17:31 edi Exp $
|
||||||
|
|
||||||
;;; Here the parse tree is converted into its internal representation
|
;;; Here the parse tree is converted into its internal representation
|
||||||
;;; using REGEX objects. At the same time some optimizations are
|
;;; using REGEX objects. At the same time some optimizations are
|
||||||
;;; already applied.
|
;;; already applied.
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
@ -184,7 +184,7 @@ The arguments to this function correspond to the REPETITION slots of
|
|||||||
the same name."
|
the same name."
|
||||||
(declare #.*standard-optimize-settings*)
|
(declare #.*standard-optimize-settings*)
|
||||||
(declare (fixnum minimum)
|
(declare (fixnum minimum)
|
||||||
((or fixnum null) maximum))
|
(type (or fixnum null) maximum))
|
||||||
;; note the usage of COPY-REGEX here; we can't use the same REGEX
|
;; note the usage of COPY-REGEX here; we can't use the same REGEX
|
||||||
;; object in both REPETITIONS because they will have different
|
;; object in both REPETITIONS because they will have different
|
||||||
;; offsets
|
;; offsets
|
||||||
@ -325,7 +325,7 @@ it. Will also
|
|||||||
(:documentation "Helper function for CONVERT-AUX which converts
|
(:documentation "Helper function for CONVERT-AUX which converts
|
||||||
parse trees which are conses and dispatches on TOKEN which is the
|
parse trees which are conses and dispatches on TOKEN which is the
|
||||||
first element of the parse tree.")
|
first element of the parse tree.")
|
||||||
(:method (token (parse-tree t) &key)
|
(:method ((token t) parse-tree &key)
|
||||||
(signal-syntax-error "Unknown token ~A in parse-tree." token)))
|
(signal-syntax-error "Unknown token ~A in parse-tree." token)))
|
||||||
|
|
||||||
(defmethod convert-compound-parse-tree ((token (eql :sequence)) parse-tree &key)
|
(defmethod convert-compound-parse-tree ((token (eql :sequence)) parse-tree &key)
|
||||||
|
|||||||
@ -151,7 +151,7 @@ href="http://weitz.de/regex-coach/">The Regex Coach</a>.
|
|||||||
|
|
||||||
CL-PPCRE together with this documentation can be downloaded from <a
|
CL-PPCRE together with this documentation can be downloaded from <a
|
||||||
href="http://weitz.de/files/cl-ppcre.tar.gz">http://weitz.de/files/cl-ppcre.tar.gz</a>. The
|
href="http://weitz.de/files/cl-ppcre.tar.gz">http://weitz.de/files/cl-ppcre.tar.gz</a>. The
|
||||||
current version is 2.0.0.
|
current version is 2.0.2.
|
||||||
<p>
|
<p>
|
||||||
CL-PPCRE comes with a system definition
|
CL-PPCRE comes with a system definition
|
||||||
for <a href="http://www.cliki.net/asdf">ASDF</a> and you compile and
|
for <a href="http://www.cliki.net/asdf">ASDF</a> and you compile and
|
||||||
@ -2208,7 +2208,7 @@ me her PowerBook to test early versions of CL-PPCRE with MCL and
|
|||||||
OpenMCL.
|
OpenMCL.
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
$Header: /usr/local/cvsrep/cl-ppcre/doc/index.html,v 1.197 2008/07/23 23:45:18 edi Exp $
|
$Header: /usr/local/cvsrep/cl-ppcre/doc/index.html,v 1.199 2009/09/17 19:13:00 edi Exp $
|
||||||
<p><a href="http://weitz.de/index.html">BACK TO MY HOMEPAGE</a>
|
<p><a href="http://weitz.de/index.html">BACK TO MY HOMEPAGE</a>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/errors.lisp,v 1.21 2008/07/06 18:12:04 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/errors.lisp,v 1.22 2009/09/17 19:17:31 edi Exp $
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/lexer.lisp,v 1.34 2008/07/06 22:36:30 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/lexer.lisp,v 1.35 2009/09/17 19:17:31 edi Exp $
|
||||||
|
|
||||||
;;; The lexer's responsibility is to convert the regex string into a
|
;;; The lexer's responsibility is to convert the regex string into a
|
||||||
;;; sequence of tokens which are in turn consumed by the parser.
|
;;; sequence of tokens which are in turn consumed by the parser.
|
||||||
@ -9,7 +9,7 @@
|
|||||||
;;; has opened so far. (The latter is necessary for interpreting
|
;;; has opened so far. (The latter is necessary for interpreting
|
||||||
;;; strings like "\\10" correctly.)
|
;;; strings like "\\10" correctly.)
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/optimize.lisp,v 1.35 2008/07/06 18:12:04 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/optimize.lisp,v 1.36 2009/09/17 19:17:31 edi Exp $
|
||||||
|
|
||||||
;;; This file contains optimizations which can be applied to converted
|
;;; This file contains optimizations which can be applied to converted
|
||||||
;;; parse trees.
|
;;; parse trees.
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/packages.lisp,v 1.38 2008/07/22 23:54:59 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/packages.lisp,v 1.39 2009/09/17 19:17:31 edi Exp $
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/parser.lisp,v 1.30 2008/07/06 18:12:05 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/parser.lisp,v 1.31 2009/09/17 19:17:31 edi Exp $
|
||||||
|
|
||||||
;;; The parser will - with the help of the lexer - parse a regex
|
;;; The parser will - with the help of the lexer - parse a regex
|
||||||
;;; string and convert it into a "parse tree" (see docs for details
|
;;; string and convert it into a "parse tree" (see docs for details
|
||||||
@ -7,7 +7,7 @@
|
|||||||
;;; return illegal parse trees. It is assumed that the conversion
|
;;; return illegal parse trees. It is assumed that the conversion
|
||||||
;;; process later on will track them down.
|
;;; process later on will track them down.
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/regex-class-util.lisp,v 1.8 2008/07/22 22:38:05 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/regex-class-util.lisp,v 1.9 2009/09/17 19:17:31 edi Exp $
|
||||||
|
|
||||||
;;; This file contains some utility methods for REGEX objects.
|
;;; This file contains some utility methods for REGEX objects.
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/regex-class.lisp,v 1.42 2008/07/22 22:38:05 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/regex-class.lisp,v 1.43 2009/09/17 19:17:31 edi Exp $
|
||||||
|
|
||||||
;;; This file defines the REGEX class. REGEX objects are used to
|
;;; This file defines the REGEX class. REGEX objects are used to
|
||||||
;;; represent the (transformed) parse trees internally
|
;;; represent the (transformed) parse trees internally
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/repetition-closures.lisp,v 1.33 2008/07/06 18:12:05 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/repetition-closures.lisp,v 1.34 2009/09/17 19:17:31 edi Exp $
|
||||||
|
|
||||||
;;; This is actually a part of closures.lisp which we put into a
|
;;; This is actually a part of closures.lisp which we put into a
|
||||||
;;; separate file because it is rather complex. We only deal with
|
;;; separate file because it is rather complex. We only deal with
|
||||||
@ -7,7 +7,7 @@
|
|||||||
;;; rather crazy micro-optimizations which were introduced to be as
|
;;; rather crazy micro-optimizations which were introduced to be as
|
||||||
;;; competitive with Perl as possible in tight loops.
|
;;; competitive with Perl as possible in tight loops.
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/scanner.lisp,v 1.35 2008/07/23 22:25:15 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/scanner.lisp,v 1.36 2009/09/17 19:17:31 edi Exp $
|
||||||
|
|
||||||
;;; Here the scanner for the actual regex as well as utility scanners
|
;;; Here the scanner for the actual regex as well as utility scanners
|
||||||
;;; for the constant start and end strings are created.
|
;;; for the constant start and end strings are created.
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/specials.lisp,v 1.41 2008/07/23 22:25:15 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/specials.lisp,v 1.42 2009/09/17 19:17:32 edi Exp $
|
||||||
|
|
||||||
;;; globally declared special variables
|
;;; globally declared special variables
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/test/packages.lisp,v 1.3 2008/07/22 12:58:52 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/test/packages.lisp,v 1.4 2009/09/17 19:17:36 edi Exp $
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE-TEST; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE-TEST; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/test/perl-tests.lisp,v 1.7 2008/07/22 23:02:04 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/test/perl-tests.lisp,v 1.8 2009/09/17 19:17:36 edi Exp $
|
||||||
|
|
||||||
;;; The tests in this file test CL-PPCRE against testdata generated by
|
;;; The tests in this file test CL-PPCRE against testdata generated by
|
||||||
;;; the Perl program `perltest.pl' from the input file `testinput' in
|
;;; the Perl program `perltest.pl' from the input file `testinput' in
|
||||||
;;; order to check compatibility with Perl and correctness of the
|
;;; order to check compatibility with Perl and correctness of the
|
||||||
;;; regex engine.
|
;;; regex engine.
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,12 +1,12 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE-TEST; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE-TEST; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/test/tests.lisp,v 1.12 2008/07/23 00:48:00 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/test/tests.lisp,v 1.13 2009/09/17 19:17:36 edi Exp $
|
||||||
|
|
||||||
;;; The tests in this file test CL-PPCRE against testdata generated by
|
;;; The tests in this file test CL-PPCRE against testdata generated by
|
||||||
;;; the Perl program `perltest.pl' from the input file `testinput' in
|
;;; the Perl program `perltest.pl' from the input file `testinput' in
|
||||||
;;; order to check compatibility with Perl and correctness of the
|
;;; order to check compatibility with Perl and correctness of the
|
||||||
;;; regex engine.
|
;;; regex engine.
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-PPCRE; Base: 10 -*-
|
||||||
;;; $Header: /usr/local/cvsrep/cl-ppcre/util.lisp,v 1.46 2008/07/06 18:12:05 edi Exp $
|
;;; $Header: /usr/local/cvsrep/cl-ppcre/util.lisp,v 1.47 2009/09/17 19:17:32 edi Exp $
|
||||||
|
|
||||||
;;; Utility functions and constants dealing with the character sets we
|
;;; Utility functions and constants dealing with the character sets we
|
||||||
;;; use to encode character classes
|
;;; use to encode character classes
|
||||||
|
|
||||||
;;; Copyright (c) 2002-2008, Dr. Edmund Weitz. All rights reserved.
|
;;; Copyright (c) 2002-2009, Dr. Edmund Weitz. All rights reserved.
|
||||||
|
|
||||||
;;; Redistribution and use in source and binary forms, with or without
|
;;; Redistribution and use in source and binary forms, with or without
|
||||||
;;; modification, are permitted provided that the following conditions
|
;;; modification, are permitted provided that the following conditions
|
||||||
|
|||||||
Reference in New Issue
Block a user