Tobia Conforto <[EMAIL PROTECTED]> writes:

> Alex Shinn wrote:
>> If Chicken switches to irregex, then we can just use SREs and be rid
>> of the ugliness of regex syntax forever.
>
> It does look more "scalable" a syntax, if not less ugly...
>
>       (word (+ (| alphanum (".-_%")))
>             "@"
>             (+ (| alphanum (".-")))
>             "."
>             (** 2 4 alpha))
>
> vs.
>
>       /[EMAIL PROTECTED],4}\b/

Actually, for that particular regexp (or what is intended by
it) the development version of irregex has a shorter form:

        email

-- 
Alex


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to