[Html-widget] formfu - URI constraint?

Carl Franks fireartist at gmail.com
Thu Apr 5 14:12:11 GMT 2007


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



More information about the Html-widget mailing list