Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
(?=([\W]*[\w][\W]*\b))\s(?=\d\.|\d\b)
|
Description |
This RegExp matches a space (" ") character with lookahead condition if there is an ASCII text in front of it and it is followed by a single decimal number which in turn is followed by a dot or nothing. It's useful to seperate scientific notation numbers from a text, i.e. when classifying with the bow toolkit.
[EDIT 18.09.2004] There was indeed an error in the second lookahead. Changed |\b to |\d\b
|
Matches |
ROOT 4.873624764e-34 | `1234567 890-= 3.8765e-34543 | ~! @ # $ % ^ & ( % )_+ 3.345e-2384754
|
Non-Matches |
rstuvwxyz 754.234e-23 | yz754.234e-23 | yz .234e-23
|
Author |
Rating:
Benjamin J. J. Voigt
|
Displaying page
of
pages;
Items to