beetweenCharacterPattern static method

RegExp beetweenCharacterPattern([
  1. String character = "*"
])

Implementation

static RegExp beetweenCharacterPattern([String character = "*"]) {
  return RegExp('(\\$character)(.*?)(\\$character)');
}