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