matchLiveInTitle function

bool matchLiveInTitle(
  1. String title
)

Implementation

bool matchLiveInTitle(String title) {
  RegExp regex = RegExp(r'\blive\b');
  Iterable<Match> matches = regex.allMatches(title.toLowerCase());
  return matches.isNotEmpty;
}