5
|
Alexander Prokofyev · 技术社区 · 16 年前 |
![]() |
1
8
如果出于某种原因不支持字符类减法,则始终可以将其用作解决方法:
要记录我对这一问题的评论: How to: Validate Against Patterns for ASP.NET Server Controls ,确实提到javascript客户端正则表达式验证器不知道“字符类减法” 如文中所述 RegularExpressionValidator Class .Net documentation
另一个关于这种副作用的例子(服务器端和客户端之间不同的正则表达式风格)在中提到 RegularExpressionValidator woes |
![]() |
2
5
您可以禁用客户端验证,从而强制验证器使用.NET正则表达式引擎,代价是额外的回发。 |
![]() |
George Alexander · 类似电报的用户名的Regex 1 年前 |
![]() |
Aliaksei · 保存前进行WebFlux检查 2 年前 |
![]() |
Nimet · 如何在regex密码模式中转义* 2 年前 |
![]() |
Jee · PowerShell输入验证-输入不应为所有数字 6 年前 |
![]() |
James · Django使用RangeWidget验证表单 6 年前 |