|
@@ -595,11 +595,11 @@ $helptxt['field_show_enclosed'] = 'Encloses the user input between some text or
|
|
|
|
|
|
$helptxt['custom_mask'] = 'The input mask is important for your forum\'s security. Validating the input from a user can help ensure that data is not used in a way you do not expect. We have provided some simple regular expressions as hints.<br /><br />
|
|
|
<div class="smalltext" style="margin: 0 2em">
|
|
|
- "[A-Za-z]+" - Match all upper and lower case alphabet characters.<br />
|
|
|
- "[0-9]+" - Match all numeric characters.<br />
|
|
|
- "[A-Za-z0-9]{7}" - Match all upper and lower case alphabet and numeric characters seven times.<br />
|
|
|
- "[^0-9]?" - Forbid any number from being matched.<br />
|
|
|
- "^([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$" - Only allow 3 or 6 character hexcodes.<br />
|
|
|
+ "~[A-Za-z]+~" - Match all upper and lower case alphabet characters.<br />
|
|
|
+ "~[0-9]+~" - Match all numeric characters.<br />
|
|
|
+ "~[A-Za-z0-9]{7}~" - Match all upper and lower case alphabet and numeric characters seven times.<br />
|
|
|
+ "~[^0-9]?~" - Forbid any number from being matched.<br />
|
|
|
+ "~^([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$~" - Only allow 3 or 6 character hexcodes.<br />
|
|
|
</div><br /><br />
|
|
|
Additionally, special metacharacters ?+*^$ and {xx} can be defined.
|
|
|
<div class="smalltext" style="margin: 0 2em">
|