Regex constructor block

Blocks ::: block_regex_constructor
Maintained by Oleg Sychev
Block regex constructor allows you to easily construct regular expression using several tools, that visualise expression you wrote, describe and test it.
Latest release:
6 sites
1 downloads
1 fans
Current versions available: 8

This block allows you to create regular expression using several tools:

  • syntax tree shows you the inner structure of regular expressions;
  • explaining graph shows you how your expression will work in a graphical way;
  • description formulates the meaning of your expression in English;
  • testing tool allows you to enter strings and see how they match your regex.

You can also select a part of you expression and see corresponding parts selected in all tools (testing included!).

This block may be useful if you teachers or students have to write regexes working on the course. 

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3

Contributors

Oleg Sychev (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Oleg Sychev
    Wed, 27 Nov 2013, 4:42 AM
    Well, we ended last session (before crash) on finding that requiring qtype_preg is acceptable. Could we continue onward? There is no much in this block than a small portion of code to run parts of qtype_preg from another place in Moodle interface...
  • MD shot of me from his iphone4
    Tue, 3 Dec 2013, 10:38 AM
    yep (been concentrating on our new theme) i recall that discussion, moving onward.
Please login to post comments