From dfadad05e2015332ee868fb0dfa5f190af79d209 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Tue, 20 Jan 2009 18:44:38 -0600 Subject: [PATCH] fix validators --- basis/validators/validators.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/validators/validators.factor b/basis/validators/validators.factor index e49f608e94..eaf8056c45 100644 --- a/basis/validators/validators.factor +++ b/basis/validators/validators.factor @@ -65,7 +65,7 @@ IN: validators v-regexp ; : v-url ( str -- str ) - "URL" R' (ftp|http|https)://\S+' v-regexp ; + "URL" R' (?:ftp|http|https)://\S+' v-regexp ; : v-captcha ( str -- str ) dup empty? [ "must remain blank" throw ] unless ;