Skip to content

Commit

Permalink
chore: update README.md (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuilanxin authored Jul 12, 2022
1 parent ad2cb48 commit 1f095fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,11 +390,11 @@ E.g: `G2868`, `D22`, `D9`, `Z5`, `Z24`, `Z17`
^(0|[1-9]\d*)(.[0-9]{2})$
```

🚧 E.g: `1.22`, ~~`0223.23`~~, `0.00`。精确到 `2` 位小数
🚧 E.g: `1.22`, ~~`0223.23`~~, ~~`0.00`~~。精确到 `2` 位小数


```regex
^(0|[1-9]\d{0,7}).?(([1-9]{1,2}?)|(0[1-9]))$
^(?!^0(.0{1,2})?$)\d{0,8}(\.\d{1,2})?$
```

🚧 E.g: `99999999.99`, 非零,俩位小数,最大 99999999.99 [@cuilanxin](https://github.com/jaywcjlove/regexp-example/issues/4#issuecomment-1013578631)
Expand Down

0 comments on commit 1f095fa

Please sign in to comment.