Skip to content

Files

Latest commit

0b94026 · Jan 15, 2019

History

History
38 lines (24 loc) · 543 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 543 Bytes

VSRegex

ChinaMobilePhoneNumberRegex wrappers for iOS and macOS in Swift.

Features

  • Pure-Swift interface
  • Well-documented
  • Extensively tested

Requirements

  • iOS 8.0+ / macOS X 10.9+ / tvOS 9.0+ / watchOS 2.0+
  • Xcode 9.0+
  • Swift 4.0+

Quick Start

import VSRegex

let isMatch = VSRegex.matches("+8613800138000")
print(isMatch) // true

Installation

CocoaPods

pod 'VSRegex', '~> 1.0.0'

License

MIT