[Html-widget] formfu - URI constraint?

Daisuke Maki daisuke at endeworks.jp
Fri Apr 6 00:45:05 GMT 2007


Aaaahhh. No, it wouldn't ;)
That probably should be like a FAQ, then.

thanks,
--d

Carl Franks wrote:
> On 05/04/07, Daisuke Maki <daisuke at endeworks.jp> wrote:
>> Hi,
>>
>> I'm thinking of adding a URI constraint that checks for valid URI, and
>> allows you to specify things like allowed URI schemes.
>> Is putting this under HTML::FormFu::Constraints sound like a sane idea?
> 
> Would it provide anything that the Regexp::Common support doesn't?
> 
> constraint:
>  - type: Regex
>    common:
>      - URI
>      - HTTP
>      - { '-scheme': 'ftp|https?' }
> 
> Carl
> 
> _______________________________________________
> Html-widget mailing list
> Html-widget at lists.rawmode.org
> http://lists.rawmode.org/cgi-bin/mailman/listinfo/html-widget
> 




More information about the Html-widget mailing list