Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
来自 URL 的 YouTube 视频 ID - Swift3
基本上我有一个 Youtube URL 作为字符串 我想从该 URL 中提取视频 ID 我在 Objective C 中找到了一些代码 如下所示 NSError error NULL NSRegularExpression regex NS
regex
swift
swift3
nsregularexpression
在 iPhone UITextView 上打字(如 Twitter)时建议 # 个标签
我正在构建一个使用主题标签的应用程序 例如 Twitter 或 Tweetbot 当您输入消息时 如果您输入主题标签符号 我会建议与您当前输入的标签相匹配的标签 我已经弄清楚如何让 UITableView 出现并显示主题标签列表 但我不知道
iphone
ios
regex
UITextView
nsregularexpression
当源包含 unicode 字符时,Swift 正则表达式匹配失败
我正在尝试使用 NSRegularExpression 进行简单的正则表达式匹配 但是当源包含多字节字符时 我在匹配字符串时遇到一些问题 let string D 9 The following matches any characters
regex
swift
xcode6
nsregularexpression
Swift 中的电子邮件和电话验证
我正在使用以下代码进行电话号码验证 但我收到以下错误 我无法继续下去 帮助我们继续前进 class PhoneNumberValidation Validation let PHONE REGEX d 3 d 3 d 4 func vali
ios
swift
iphone
xcode
nsregularexpression
语法高亮的正确正则表达式是什么?
使用 NSRegularExpression 进行语法高亮的正确正则表达式是什么 必须通过以下测试 code comment code comment code code string code code comment code code
Objectivec
regex
nsregularexpression
如何在具有可变宽度 Unicode 字符的 Swift 字符串上使用 NSRegularExpression?
我无法获取NSRegularExpression匹配字符串中含有较宽 Unicode 字符的模式 看起来问题出在范围参数上 Swift 计算单个 Unicode 字符 而 Objective C 将字符串视为由 UTF 16 代码单元组成
Objectivec
regex
swift
nsregularexpression
如何在 Objective C 中编写正则表达式(NSRegularExpression)?
当我在 PHP 中测试这个正则表达式时 它可以工作 但它在 Objective C 中不起作用 www a zA Z0 9 2 63
Objectivec
ios
regex
nsregularexpression
制作模式以使用 NSRegularExpression
斯威夫特 4 4 我想创建NSAttributedString using NSRegularExpression This two are bold text and different
ios
swift
NSAttributedString
nsregularexpression
正则表达式在 Swift 中获取方括号对之间的文本
strong Lorem Ipsum lt strong gt Lorem Ipsum link to shop page instore pickup Learn More link to 给定上面的示例字符串 它包括 HTML 它是我从
ios
swift
regex
nsregularexpression
确保用户以正确的格式输入了电子邮件地址字符串?
我在 联系人 屏幕中有一个文本字段 用户需要输入电子邮件地址才能向我发送消息 确保用户输入有效电子邮件地址的最佳方法是什么 例如 email protected net org co il email protected email pro
iphone
Objectivec
regex
email
nsregularexpression
如何捕获 NSString 中特殊指示的 **字符** 并粗体显示中间的内容?
我无法将指定的 字符对之间的任何字符加粗 例如 在这个 NSString 中 The Fox has ran around the corner 应该读 狐狸跑了around角落 这是我的代码 NSString questionString
ios
Objectivec
regex
nsregularexpression
正则表达式块否定
我想找出一个没有出现特定标签的字符串 例如
Objectivec
regex
regexnegation
nsregularexpression
使用 NSRegularExpression 命名捕获组
Does NSRegularExpression支持命名捕获组吗 看起来不像是从文档 但我想在探索替代解决方案之前进行检查 iOS 中不支持命名分组 据我所知 您所能做的就是利用Enum Enum typedef enum kDayGrou
Objectivec
regex
cocoa
nsregularexpression
iOS 正则表达式 阿拉伯语
我来自这个帖子 正则表达式 仅限阿拉伯字符和数字 如何将阿拉伯语单词与正则表达式匹配 没有回答我的问题 我试过了 p Arabic 并收到 解析错误 原因 无效的转义序列 pos 3 p 阿拉伯语 我也尝试过 u0621 u064A s 解
ios
regex
Localization
arabic
nsregularexpression