All Versions
10
Latest Version
Avg Release Cycle
140 days
Latest Release
598 days ago

Changelog History

  • v2.1.1 Changes

    March 02, 2020

    ๐Ÿ‘Œ Improves the CocoaPods spec metadata by explicitly annotating the license file as "MIT". Thanks @AlexeyVasilyevRN!

  • v2.1.0 Changes

    April 21, 2019

    ๐Ÿ†• New:

    • โž• Adds a new option regex option .allowCommentsAndWhitespace, allowing for richer, self-documenting regular expression patterns. (#66 โ€” thanks @remithaunay!)

    ๐Ÿ‘Œ Improved:

    • ๐ŸŽ Updated internals to use the modern built in conversions between NSRange and Range<String.Index>. This should improve performance and potentially correctness! (#69)
  • v2.0.0 Changes

    March 29, 2019

    Say hello to Regex version 2, including support for Swift 5! This release adds no new functionality , but drops support for Swift versions less than 4.2. Regex 2 should otherwise be fully compatible with Regex 1.1.

  • v1.1.0 Changes

    August 04, 2017

    ๐Ÿฑ Regex now speaks Swift 4! ๐ŸŽ‰

    โž• Added:

    • The Regex type now conforms to Codable, so you can encode and decode regular expressions to your heart's content. (#52)
    • MatchResult has a new range property. (#54, thanks @mezhevikin!)
    • To go with MatchResult.range, there's also the captureRanges property, allowing you to work with the ranges of capture groups. (#59)

    ๐Ÿ›  Fixed:

    Thanks for using Regex!

  • v1.0.0 Changes

    June 13, 2017

    ๐Ÿฑ Regex is now officially at 1.0.0! ๐ŸŽ‰

    Here's a quick hit list of features:

    • Easily and safely create regular expressions
    • When creating a regular expression from a static string, no error handling required
    • ๐Ÿ‘ Great pattern-matching support via Regex.lastMatch
    • Type safe access to capture groups
    • ๐Ÿ‘ Convenient extensions to String to support find and replace

    I hope you enjoy using Regex!

  • v1.0.0-beta.2

    June 13, 2017
  • v1.0.0-beta

    June 12, 2017
  • v0.4.3 Changes

    December 12, 2016

    ๐Ÿ›  Fixes a build failure when using Swift Package Manager.

  • v0.4.2 Changes

    September 25, 2016

    ๐Ÿ— This should add full Swift 3 support for swiftpm and CocoaPods users. Carthage users should be able to opt into Swift 3 using the --toolchain option to carthage build.

    ๐Ÿ’ฅ Breaking changes to drop Swift 2 support and adopt the Swift API Design Guidelines will be made in a future release.

  • v0.4.1 Changes

    September 15, 2016

    โž• Added:

    • ๐Ÿ†• New DotMatchesLineSeparator option allows . to match new line characters such as \n. Thanks @ninjaprawn!