diff --git a/CHANGELOG.md b/CHANGELOG.md index ac7d36c..510e880 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [1.1.2] - 2021-01-05 + +### Fixed + +- docs: misspelled fields mapping PCRE pattern example (issue #1) + ## [1.1.1] - 2020-11-26 diff --git a/lang/en/auth_emailotp.php b/lang/en/auth_emailotp.php index 4823b6e..484a2c2 100644 --- a/lang/en/auth_emailotp.php +++ b/lang/en/auth_emailotp.php @@ -47,7 +47,7 @@ $string['fieldsmapping_help'] = <<<'EOT' Pattern:
-'#/?P<FIRST>[^\.]+)\.(?P<LAST>[^@]+)@(?P<COMPANY>[^\.]+).*#',
+#/(?P<FIRST>[^\.]+)\.(?P<LAST>[^@]+)@(?P<COMPANY>[^\.]+).*#
 
Mapping:
diff --git a/lang/pl/auth_emailotp.php b/lang/pl/auth_emailotp.php index fe8164b..d6c2362 100644 --- a/lang/pl/auth_emailotp.php +++ b/lang/pl/auth_emailotp.php @@ -47,7 +47,7 @@ $string['fieldsmapping_help'] = <<<'EOT' Wzorzec:
-'#/?P<FIRST>[^\.]+)\.(?P<LAST>[^@]+)@(?P<COMPANY>[^\.]+).*#',
+#/(?P<FIRST>[^\.]+)\.(?P<LAST>[^@]+)@(?P<COMPANY>[^\.]+).*#
 
Mapowanie:
diff --git a/version.php b/version.php index aa734a8..f478dd5 100644 --- a/version.php +++ b/version.php @@ -24,8 +24,8 @@ defined('MOODLE_INTERNAL') || die(); -$plugin->version = 2020112600; // The current plugin version (Date: YYYYMMDDXX). +$plugin->version = 2021010500; // The current plugin version (Date: YYYYMMDDXX). $plugin->requires = 2018120304; // Requires this Moodle version. $plugin->component = 'auth_emailotp'; // Full name of the plugin (used for diagnostics). $plugin->maturity = MATURITY_STABLE; -$plugin->release = '1.1.1'; +$plugin->release = '1.1.2';