TextValue.fromCrawledStringValue constructor
TextValue.fromCrawledStringValue(
- String value
Implementation
factory TextValue.fromCrawledStringValue(String value) => TextValue(
value
.replaceAllMapped(
RegExp(r'\\(,|\\|;)', caseSensitive: false),
(match) => match.group(1)!,
)
.replaceAll(RegExp(r'\\n', caseSensitive: false), "\n"),
);