I'm using the RegEx from here
TextFormField(
  keyboardType: TextInputType.datetime,
  inputFormatters: [
    FilteringTextInputFormatter.allow(RegExp(r'^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$')),
  ],
)
This RegExp doesn't let me enter anything. Then what should be the correct RegExp for time in HH:MM format for TextFormField?