You are here

constant MODULE_BUILDER_FUNCTION_PATTERN in Module Builder 5

Same name and namespace in other branches
  1. 6.2 module_builder.module \MODULE_BUILDER_FUNCTION_PATTERN
  2. 7 module_builder.module \MODULE_BUILDER_FUNCTION_PATTERN

Took this regex from the PHP manual page on Functions

1 use of MODULE_BUILDER_FUNCTION_PATTERN
module_builder_page_validate in ./module_builder.module
Makes sure that valid values have been provided to the Module Builder.

File

./module_builder.module, line 47
Builds scaffolding for custom modules.

Code

define('MODULE_BUILDER_FUNCTION_PATTERN', '#^[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*#');