canonical_number.h
Go to the documentation of this file.
1 #ifndef cetlib_canonical_number_h
2 #define cetlib_canonical_number_h
3 
4 // ======================================================================
5 //
6 // canonical_number: Transform a number string into a canonical form
7 //
8 // "Number string" is defined by the following regular expression:
9 // ^[-+]?([0-9]*\.?[0-9]+|[0-9]+\.?[0-9]*)([eE][-+]?[0-9]+)?$
10 //
11 // ======================================================================
12 
13 #include <string>
14 
15 namespace cet {
16 
18 }
19 
20 // ======================================================================
21 
22 #endif /* cetlib_canonical_number_h */
23 
24 // Local Variables:
25 // mode: c++
26 // End:
bool canonical_number(std::string const &value, std::string &result)
static QCString result
std::string string
Definition: nybbler.cc:12