Common Lisp Package: IT.BESE.ARNESI.CL-PPCRE-EXTRAS

README:

MACRO

Public

=~ (REGEXP &OPTIONAL (TARGET '$_) (THEN T) (ELSE NIL))

Equivalent to perl's if (TARGET =~ REGEXP) { THEN } else { ELSE }. Attempt to match REGEXP agains TARGET, if the match succedes THEN is evaluated with $1, .. $9 bound to the groups in REGEXP. Otherwise ELSE is executed.

VARIABLE

Public

$1

The string matched by the first group in the last regexp match.

$2

The string matched by the second group in the last regexp match.

$3

The string matched by the third group in the last regexp match.

$4

The string matched by the fourth group in the last regexp match.

$5

The string matched by the fifth group in the last regexp match.

$6

The string matched by the sixth group in the last regexp match.

$7

The string matched by the seventh group in the last regexp match.

$8

The string matched by the eight group in the last regexp match.

$9

The string matched by the ninth group in the last regexp match.

Private

$_

The current default target for regexp matching.