Created
February 21, 2015 13:24
-
-
Save jankowskib/99f751364a33bc443341 to your computer and use it in GitHub Desktop.
regex match with filter
This file contains hidden or 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
^(?=.*?\bCONFIG_ARCH_SUN8IW.P.\b)((?!SUN8IW1P1).)*$ | |
will find lines that match CONFIG_ARCH_SUN8IWXPX except CONFIG_ARCH_SUN8IW1P1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment