]>
git.evergreen-ils.org Git - Evergreen.git/commit
Regex check for "last 4 digits of phone number"
If the day_phone regex (direct or from generic phone) has a capture group use it as the "last 4 digits".
For example, you might configure this for day_phone regex:
[2-9]\d{2}-\d{3}-(\d{4})( x\d+)?
With this patch the extension will be ignored for the last 4 digits.
Note: Does not require that the "last 4 digits" capture group actually contain 4 digits.
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Etheridge <jason@esilibrary.com>