You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To try out the functionality provided here, download the latest open source development toolchain. Import _StringProcessing in your source file to get access to the API and specify -Xfrontend -enable-experimental-string-processing to get access to the literals.
Following these steps from the README doesn't seem to be all that is necessary to try out the Regex features with the swift-DEVELOPMENT-SNAPSHOT-2022-04-21-a-osx toolchain.
The text was updated successfully, but these errors were encountered:
christopherweems
changed the title
Regex is only available in macOS 9999 or newerRegex is only available in macOS 9999 or newer
Apr 24, 2022
I've found a workable solution to my problem. If you know you're developing a package that will only support platforms that include the string processing APIs, you can disable availibility checking for now by adding the setting .unsafeFlags(["-Xfrontend", "-disable-availability-checking"]) to your package manifest.
Following these steps from the README doesn't seem to be all that is necessary to try out the Regex features with the
swift-DEVELOPMENT-SNAPSHOT-2022-04-21-a-osx
toolchain.The text was updated successfully, but these errors were encountered: