update method
Implementation
@override
UpdateResult update(String line) {
isMatched = false;
final result = line.replaceFirstMapped(regexp, (Match match) {
isMatched = true;
return '${match[1]!.replaceAll(" ", "")}"$value"';
});
validate(result);
return UpdateResult(isMatched, result);
}