Commits

aarondandy committed e355b21

Fix for code word detection.

  • Participants
  • Parent commits 936fbc7

Comments (0)

Files changed (1)

src/YouCantSpell.Core/CStyle/CStyleFreeTextParser.cs

 		/// <summary>
 		/// Identifies words that appear to be like C styled identifiers.
 		/// </summary>
-		private static readonly Regex CodeWordDetectionRegex = new Regex(@"^\p{Lu}+$|^\p{Ll}+\p{Lu}", RegexOptions.Compiled | RegexOptions.Singleline);
+		private static readonly Regex CodeWordDetectionRegex = new Regex(@"^\p{Lu}+$|^\p{Ll}+\p{Lu}|^\p{Lu}\p{Ll}+\p{Lu}", RegexOptions.Compiled | RegexOptions.Singleline);
 		/// <summary>
 		/// Determines if a word is composed only of valid characters.
 		/// </summary>