Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1036343 // regexpForFloatingPointWithoutSign

JavaX fragment (include)

sS regexpForFloatingPointWithoutSign() {
  // for sign prepend "[+-]?"
  ret [[\d+(\.\d*)?([eE][+-]?\d+)?|\.\d+([eE][+-]?\d+)?]];
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1036343
Snippet name: regexpForFloatingPointWithoutSign
Eternal ID of this version: #1036343/2
Text MD5: 8d714a50446418c8a9fd4ccf713526a9
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-11-21 11:11:56
Source code size: 134 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 53 / 64
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1036591 - regexpForFloatingPoint - with optional sign