RegexFlags.h 715 B

12345678910111213141516171819
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. #pragma once
  6. namespace UnifiedRegex
  7. {
  8. enum RegexFlags : uint8
  9. {
  10. NoRegexFlags = 0,
  11. IgnoreCaseRegexFlag = 1 << 0,
  12. GlobalRegexFlag = 1 << 1,
  13. MultilineRegexFlag = 1 << 2,
  14. UnicodeRegexFlag = 1 << 3,
  15. StickyRegexFlag = 1 << 4,
  16. AllRegexFlags = (1 << 5) - 1
  17. };
  18. }