D10286: Fix C# var regex

Wes noreply at phabricator.kde.org
Sun Feb 4 01:35:05 UTC 2018


wesdawg created this revision.
wesdawg added a reviewer: Framework: Syntax Highlighting.
wesdawg created this object with visibility "All Users".
wesdawg added a project: Framework: Syntax Highlighting.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
wesdawg requested review of this revision.

REVISION SUMMARY
  This patch fixes the C# ```var``` data type regex to match correctly on all var keywords (e.g. https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/implicitly-typed-local-variables)

TEST PLAN
  Tested with C# code from https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/implicitly-typed-local-variables

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D10286

AFFECTED FILES
  data/syntax/cs.xml

To: wesdawg, #framework_syntax_highlighting
Cc: #frameworks, #framework_syntax_highlighting, michaelh, genethomas, ngraham, cullmann, vkrause, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180204/afa2276b/attachment.html>


More information about the Kde-frameworks-devel mailing list