由网友(緈福⒈辈孖)分享简介:正前pression语言使用\ B至包括A..Z,A..Z,0..9和_,\ B就被定义为一个单词边界。Regular expression languages use \B to include A..Z, a..z, 0..9, and _, and \b is defined as a word boundar...
正前pression语言使用 B至包括A..Z,A..Z,0..9和_, B就被定义为一个单词边界。
Regular expression languages use B to include A..Z, a..z, 0..9, and _, and b is defined as a word boundary.
我怎么能写一个正EX pression匹配所有有效的西班牙语单词,包括字符,如:?A,I,O,E,N,等
How can I write a regular expression that matches all valid Spanish words, including characters such as: á, í, ó, é, ñ, etc.?
我使用的是.NET。
推荐答案
使用西班牙语的语言环境,使您的正则表达式语言环境敏感。
Use a Spanish locale and make your regex locale-sensitive.
相关推荐
最新文章