We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Isn't replacing all supposed to replace Å with A in this example?
Å
A
import "package:unorm_dart/unorm_dart.dart" as unorm; void main() { var text = "The \u212B symbol invented by A. J. \u00C5ngstr\u00F6m " + "(1814, L\u00F6gd\u00F6, \u2013 1874) denotes the length " + "10\u207B\u00B9\u2070 m."; var combining = RegExp(r"[\u0300-\u036F]/g"); print("Regular: ${text}"); print("NFC: ${unorm.nfc(text)}"); print("NFKC: ${unorm.nfkc(text)}"); print("NFKD: * ${unorm.nfkd(text).replaceAll(combining, "")}"); print(" * = Combining characters removed from decomposed form."); }
When trying it I didn't get that in fact the text appears to be the same before and after replacement.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Isn't replacing all supposed to replace
Å
withA
in this example?When trying it I didn't get that in fact the text appears to be the same before and after replacement.
The text was updated successfully, but these errors were encountered: