marker-wu commented on issue #19423:
URL:
https://github.com/apache/shardingsphere/issues/19423#issuecomment-1200897307
> @marker-wu How can the prefix be accurately identified?
enhanced on the basis of the original regular, the real table contains a set
of rules: numbers and -or_ (can exist multiple times), and finally ends with
number
original: Pattern.compile("\\d+$");
modify to : Pattern.compile("(\\d+[\\-_]){0,}(\\d+$)");
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]