Could content.module have a built in regexp field type, allowing us to define any field type we want using a regular expression instead of having to download a new module for each field type?

Comments

mki’s picture

Title: How about regexp field type? » Regexp field type

Field type modules doing much more than simply defining patterns for data: there are features for storing and procesing data dedicated to currently existing field types. See for example date or e-mail modules.

Regular expressions could be useful way for more restricted validation above fields. But it seems that this feature is still in progress and it's hard to say when it will be done: you can search issue queue for more information.

yched’s picture

Status: Active » Closed (duplicate)

the thread is http://drupal.org/node/84791
It would probably not require _that_ much work, but I did not find any time yet to get to it...

kenorb’s picture