optonaut / ActiveLabel.swift

UILabel drop-in replacement supporting Hashtags (#), Mentions (@) and URLs (http://) written in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Newline breaks custom types

gerchicov-bp opened this issue · comments

You have NSRegularExpression object and you need to add a possibility to choose its options like .dotMatchesLineSeparators. Otherwise some regex will not work because by default "." in regex doesn't include newline characters

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.