我想构建一个if
读取 url 参数并检查它是否符合以下特殊模式的语句:
Single capital letter (A to E), followed by
Single capital letter (R, S, H, or T), followed by
One digit (1 or 2), followed by
Two digits (01 to 18), followed by
Two digits (01 to 60), followed by
Single capital letter (X or Y), followed by
Pair of float numbers separated by a comma (5.8234,11.231134)
匹配模式示例:
AH20340X22.14,43.8241212
CT11154Y1.431212,11.413
ES10113X11.512341,55.134513