How to write regular expressions in pattern in rules by java
This article mainly explains "how java writes regular expressions in pattern in rules". The content in the article is simple and clear, and it is easy to learn and understand. Please follow Xiaobian's train of thought to study and learn "how java writes regular expressions in pattern in rules".
Java writes regular expressions in pattern in rules
Export default {data () {return {dialogRules: {loseEfficacyReason: [{required: true, message: 'please enter the reason', trigger: 'blur'}, {min: 2, message:' please enter no less than 2 characters', trigger: 'blur'}, {pattern: / ^ [A-Za-z0-9\ u4e00 -\ u9fa5] + $/ Message: 'special symbols such as spaces are not allowed to be entered'}]}} thank you for your reading The above is the content of "how java writes regular expressions in pattern in rules". After the study of this article, I believe you have a deeper understanding of how java writes regular expressions in pattern in rules. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!