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:
14 sites
27 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

Show comments
  • Plugins bot
    Sat, 3 Feb 2024, 4:20 AM
    Approval issue created: CONTRIB-9489
  • Jaloliddin Yusupov
    Sun, 17 Mar 2024, 11:51 PM
    Are you also planning to support older versions of Moodle?
  • Stephan Robotta
    Mon, 18 Mar 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