Macro tokay::ccl [−][src]
macro_rules! ccl { ($($from : expr => $to : expr), +) => { ... }; ($($chr : expr), +) => { ... }; }
Expand description
Character-class construction helper-macro
Example:
use tokay::ccl; let ccl = ccl!['A' => 'Z', 'a' => 'z'] + ccl!['_'];