Regular expression

xiaoxiao2021-03-06  107

Regular expression:

example:

1. Float (2, 4) -------- [There are two decisions of four, namely **. **]

^ [0-9] {1,2} /. [0-9] {1,2}

2. Float (3, 5) -------- [There are two decisions of four, namely **. ***]

^ [0-9] {1,2} /. [0-9] {1,3}

3. Float (1, 3) -------- [There are two decimals of four, namely **. *]

^ [0-9] {1,2} /. [0-9] {1}

3. Float (2, 3) -------- [There are two decisions of four, namely *. **]

^ [0-9] {1} /. [0-9] {1,2}

转载请注明原文地址:https://www.9cbs.com/read-103192.html

New Post(0)