Transpiled version (9358L) is out of date.
1 | sbool isPositiveNumberString(S s) { |
2 | // detect + sign or non-zero number before decimal point |
3 | // or non-zero number after decimal point |
4 | ret regexpFind("^\\+|^0*[1-9]|^0*\\.0*[1-9]", s); |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1036220 |
Snippet name: | isPositiveNumberString |
Eternal ID of this version: | #1036220/5 |
Text MD5: | 80cc3f04fecfb88a75711c7593145cfa |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-10-31 17:49:59 |
Source code size: | 196 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 142 / 213 |
Version history: | 4 change(s) |
Referenced in: | [show references] |