mirror of
https://github.com/h7x4/Jisho-Study-Tool.git
synced 2025-03-09 14:03:28 +01:00
* Add division package * Add base logic and widget * Finish layout * Fix kanji regex * Add bloc logic
5 lines
206 B
Dart
5 lines
206 B
Dart
final kanjiPattern = RegExp(r'[\u3400-\u4DB5\u4E00-\u9FCB\uF900-\uFA6A]');
|
|
|
|
List<String> kanjiSuggestions(String string) {
|
|
return kanjiPattern.allMatches(string).map((match) => match.group(0)).toList();
|
|
} |