pattern property

RegExp pattern
final

Implementation

static final RegExp pattern =
    RegExp(r'^\s*(-?\d+(?:\.\d+)?|-?\.\d+)\s*$', multiLine: false);