Regular expression

Database fields ::: datafield_regex
Maintained by Stephan Robotta
This plugin provides an additional field type for regular expressions for the database activity. The field is very similar to the "Short text" field. However, the input is validated by a regular expression.
Latest release:
25 sites
22 downloads
4 fans
Current versions available: 1
This plugin provides an additional field type for regular expressions for the database activity. The field is very similar to the "Short textfield. The main difference is that input can be validated against a regular expression that must match before the value is accepted.

Choose any regular expression for an input fleld to match the input values of that field. Easy check for case-sensitive match. Chosse whether to match the entire string or patially only.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Stephan Robotta (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Dangos sylwadau
  • Plugins bot
    Sad, 3 Chwef 2024, 4:20 AM
    Approval issue created: CONTRIB-9489
  • Jaloliddin Yusupov
    Sul, 17 Maw 2024, 11:51 PM
    Are you also planning to support older versions of Moodle?
  • Stephan Robotta
    Llun, 18 Maw 2024, 4:56 PM
    Hi Jaloliddin,

    To be honest, I do not plan to port it to older versions. Which version are you interested in?
    Because of the testsuite I only included support for the versions were the test run through successfully. I would guess that it may work out of the box for 4.0 (or with little adjustments). For older versions I can't tell. The plugin is not very complex so it might be a try to let it run for 3.9/11.

    Best regards, Stephan
Please login to post comments