gskinner / regexr

RegExr is a HTML/JS based tool for creating, testing, and learning about Regular Expressions.
http://regexr.com/
GNU General Public License v3.0
9.91k stars 974 forks source link

Swift Regular Expressions #361

Open omartan opened 4 years ago

omartan commented 4 years ago

Hmm, so I'm trying to figure out what engine does Swift uses and it seems based on this sources, 1 . https://developer.apple.com/documentation/foundation/nsregularexpression

  1. http://userguide.icu-project.org/strings/regexp

It is essentially PCRE?

Calorion commented 1 month ago

Yes, Apple uses ICU pretty much everywhere. It's very similar to PCRE, except it lacks \K, but it's apparently based on Java. From https://unicode-org.github.io/icu/userguide/strings/regexp.html:

Differences with Java Regular Expressions

Calorion commented 1 month ago

And I would love ICU support in regexr.