Created
March 8, 2025 05:53
-
-
Save garethj-msft/0a94ba06c0e1c0ff4863309168828c19 to your computer and use it in GitHub Desktop.
Helpul regexes
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
// Find the first annotations that target the entitycontainer by name | |
<Schema .*Namespace="(.*?)"(?:.*\n)+?\s*<EntityContainer Name="(.*?)"(?:.*\n)+?.*<Annotations Target="\1\.\2\/ | |
// Find truly deprecated items (not hidden) | |
<(Entity|Complex|Enum)(?!.*ags:IsHidden="true").+\r\n.*Ann.*\r\n.*Collec.*\r\n.*Record.*\r\n.*Deprec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment