Hello everyone, I'm looking for guidance on creating a custom detection pattern for UIPasteboard. I've come across the init(rawValue: String) method in the UIPasteboard class documentation, which seems related to this, but I'm unsure about its usage. [https://developer.apple.com/documentation/uikit/uipasteboard/detectionpattern]
Specifically, I want to implement a custom detection pattern using a regex. Can someone please provide insights or examples on how to achieve this?
Thank you in advance for your help! :)