regex
Converting tabs in leading whitespaces to double spaces in Visual Studio macro
I\'m trying to modify a VS macro I found on this site; the macro performs a transformation to a document when it is saved. I need the macro to transform the leading whitespaces such that each tab char[详细]
2023-04-12 21:05 分类:问答Why is this preg_split not working as I want it to?
I have a preg_split pattern as below: $pattern = \'/[, ;:-_.|+#\\/]/\'; I use $pcs = preg_split($pattern, $string);[详细]
2023-04-12 21:00 分类:问答Email verification in JavaScript
I have to implement email verification such that Email addresses cannot start or end with a dot. The code is as below:[详细]
2023-04-12 20:57 分类:问答Javascript Regex after specific string
开发者_C百科I have several Javascript strings (using jQuery). All of them follow the same pattern, starting with \'ajax-\', and ending with a name. For instance \'ajax-first\', \'ajax-last\', \'ajax-e[详细]
2023-04-12 20:44 分类:问答Pattern matching with regex
I am a novice in regex and trying to understand it by solving small problems. So here I am with a problem which I couldn\'t solve (warning: it may be extremely silly). Your inputs will help me underst[详细]
2023-04-12 20:32 分类:问答Regex ignore middle part of capture
I want a 开发者_StackOverflowsingle regex that when applied to : \"firstsecondthird\" will match \"firstthird\" (in single group, ie in C# Match.Value will be equal to \"firstthird\").[详细]
2023-04-12 20:32 分类:问答Why does the regex pattern not match the code?
Do you have any idea why this regex does not match the code below? $regex = \"!<title>(.*?)</title>!i\";[详细]
2023-04-12 20:30 分类:问答there's a way to sort a regular expressions list by specificity?
I\'m looking for something that allows me to sort a list of regular expression, or some documentation and re开发者_StackOverflowsearch,[详细]
2023-04-12 20:19 分类:问答Hg Regexp Syntax Not Working as Expected
Here\'s my file/fold开发者_如何学运维er structure: Code/.hg Code/.hgignore Code/CASH/readme.txt Code/CASH/bin/FTI/abc.dll[详细]
2023-04-12 20:16 分类:问答Regular expression to match Razor like expressions
I\'ve been trying to figure out how to match Razor-like embedded expressions. This isn\'t true Razor syntax, just something similar.[详细]
2023-04-12 20:04 分类:问答