Created
November 16, 2012 09:53
-
-
Save songxiaofeng1981/4086046 to your computer and use it in GitHub Desktop.
RegExp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# negative lookbehind | |
display:box; box-shadow: 1px 2px 3px black; box-sizing: 100% 100%; | |
逐行解释: | |
(?<!: ) Negative lookbehind 不包含前面含有 : 号的box | |
[^;] 不是分号的所有字符 | |
+ 前面不是分号的所有字符1个或多个 | |
; 匹配一个分号 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment