Updated the validator regex to properly handle the Japanese long vowel mark "ー" (chōonpu).
Added test cases including the long vowel mark to ensure correct functionality.
Background
When dealing with Japanese text, there were cases where the long vowel mark "ー" was not processed correctly. We have extended the validator functionality to address this issue.
Technical Details
Updated the VALIDATOR_TYPE_REGEX pattern to match strings containing the long vowel mark "ー".
Added new test cases to the ExtendedDMMFFieldValidatorMatch class that include the long vowel mark.
Support Japanese long vowel mark "ー" (chōonpu)
Changes
Background
When dealing with Japanese text, there were cases where the long vowel mark "ー" was not processed correctly. We have extended the validator functionality to address this issue.
Technical Details
VALIDATOR_TYPE_REGEX
pattern to match strings containing the long vowel mark "ー".ExtendedDMMFFieldValidatorMatch
class that include the long vowel mark.