Created
September 21, 2018 18:21
-
-
Save aclave1/15c39cc8acb708b89a4db304cff29fbb to your computer and use it in GitHub Desktop.
Umbraco CMS csproj wildcard regex
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
# Basic wildcards | |
``` | |
<Content Include="App_Plugins\**" /> | |
<Content Include="config\**" /> | |
<Content Include="Content\**" /> | |
<Content Include="css\**" /> | |
<Content Include="js\**" /> | |
<Content Include="Views\**" /> | |
<Content Include="fonts\**" /> | |
<Content Include="scripts\**" /> | |
<Content Include="uSync\**" /> | |
<Content Include="Umbraco\**" /> | |
<Content Include="Umbraco_Client\**" /> | |
``` | |
regex to delete everything covered by these wildcards | |
`<Content Include="(App_Plugins|config|Content|css|js|Views|fonts|scripts|uSync|Umbraco|Umbraco_Client)\\[^*].*\/>$` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment