실수 리터럴 #6
bigsaigon333
started this conversation in
General
Replies: 1 comment
-
/^(?!(?:|\.)$)-?(?<int>\d*|[1-9](?:_?\d)*)(?:\.(?<fraction>\d*|[1-9](?:_?\d)*))?(?:e(?<exponent>-?(?:\d+|[1-9](?:_?\d)*)))?$/gm |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
TC
1. PASS
1
2
3
-1
-2
0
-0
100
009
013
35.
0.3
.3
-.8
2.358
-.8e28
1e6
13e-1
234.9e103
7_34.9e1_3
-.3_0e2_4
10_00
10_34.35_24
10_3
-.3_0
2. FAIL
빈문자열
0_2
1__0
01_3
-._03
234.9e103.378
-.3_0e_24
1_
.
Beta Was this translation helpful? Give feedback.
All reactions