This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
import Foundation
struct Entity {
// Write your code here
}
// 以下的内容将能够判断名为 ID 的字符串是否满足13位数字的情况,可以直接照搬
// let reFormula = try! NSRegularExpression(pattern: "^\\d{13}$", options: [NSRegularExpression.Options.anchorsMatchLines])
// let matchRange = NSRange(ID.startIndex..<ID.endIndex, in: ID)
// let matchList = reFormula.matches(in: ID, range: matchRange)
// if matchList.count != 1 {
// return false
// }
// return true