I have an application implemented in Android with Kotlin and in iOS with Swift.
I want the backend to send with a response to the clients a regular expression. This regular expression must then be checked in both apps in order to see if it matches a user's input.
Question: Do regular expressions have the same syntax in both Kotlin and Swift? If not, what are their differences?