character-properties
How can I find out how is a punctuation character form in UTF 8?
I have a set of characters like ., !, ?, ;,(space) and a string, which may or may not be UTF 8 (any language).[详细]
2023-04-11 11:44 分类:问答Matching case sensitive unicode strings with regular expressions in Python
Suppose I want to match a lowercase letter followed by an uppercase letter, I could do something like[详细]
2023-04-04 05:50 分类:问答Laundering tainted data
When I do laundering tainted data with checking w开发者_开发问答hether it has any bad characters are there unicode-properties which will filter the bad characters?User-Defined Character Properties in[详细]
2023-04-01 11:54 分类:问答Checking for specific strings with regex
I have a list of arbitrary length of Type String, I need to ensure each String element in the list is alphanumerical or numerical with no spaces and special characters such as - \\ / _ etc.[详细]
2023-03-30 03:50 分类:问答How to check which language supports which Support Level in Unicode Regular Expressions?
The various levels of Unicode Regular Expression support are described in UTS#18. Is there a way to to have a few tests for every requirement, so it is possible to port the tests to the language in q[详细]
2023-03-29 02:55 分类:问答Scanning for Unicode Numbers in a string with \d
According to the Oniguruma documentation, the \\d character type matches: decimal digit char Unicode: General_Category -- Decimal_Number[详细]
2023-03-26 19:46 分类:问答Match any unicode letter?
In .net you can use \\p{L} to match any letter, how can I do the same in Python? Namely, I want to match any uppercase, lowercase, and acc开发者_JAVA技巧ented letters.Python\'s re module doesn\'t supp[详细]
2023-03-12 08:46 分类:问答What is the {L} Unicode category?
I came across some regular expressions that contain [^\\\\p{L}]. I understand that this is using some form of a Unicode category, but when I checked the documentation, I found only the following \"L\"[详细]
2023-03-05 00:43 分类:问答Regex for names with special characters (Unicode)
Okay, I have read about regex all day now, and still don\'t understand it properly. What i\'m trying to do is validate a name, but the functions i can find for this on the internet only use [a-zA-Z],[详细]
2023-03-04 06:54 分类:问答Enumerate a character's Unicode properties in Ruby?
Is there any way to enumerate all of a character\'s Unicode properties in Ruby? I can use Ruby 1.9\'s Regexp class to test whether a given character has a particular property (e.g., some_char =~ /\\p{[详细]
2023-03-01 09:50 分类:问答