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
I have unicode data i am trying to parse.
I have following regex (?<=ژژ).*(?=ژژ) its working fine on regex101 as you can see following image. I am using following code: ParsedText( text: ''' ژژ صفحہ نمبر 15ژژص ژ1 ’’وَلَقَدْ اَرْسَلْنَا نُوْحاً وَّاِبْرَاہِیْمَ وَجَعَلْنَافِیْ ذُرِّیَّتِہِمَاالنُّبُوَّۃَ وَالْکِتٰبَ فَمِنْہُمْ مُھْتَدٍ۔وَکَثِیْرٌ مِّنْہُمْ فٰسِقُوْنَ۔ ثُمَّ قَفَّیْنَا عَلیٰٓ اٰثَارِہِمْ بِرُسُلِنَا صژص ژ8 (حدید:۲۶،۲۷)‘‘ صژص''', style: Get.textTheme.headline6, parse: <MatchText>[ MatchText( pattern: r'(?<=ژژ).*(?=ژژ)', style: TextStyle( color: Colors.red, fontSize: 24, ), renderText: ({String str, String pattern}) { Map<String, String> map = Map<String, String>(); RegExp customRegExp = RegExp(pattern); Match match = customRegExp.firstMatch(str); map['display'] = '\n'; map['value'] = match.group(2); print(match.group(1)); print(match.group(2)); return map; }, ), ], ),
(?<=ژژ).*(?=ژژ)
ParsedText( text: ''' ژژ صفحہ نمبر 15ژژص ژ1 ’’وَلَقَدْ اَرْسَلْنَا نُوْحاً وَّاِبْرَاہِیْمَ وَجَعَلْنَافِیْ ذُرِّیَّتِہِمَاالنُّبُوَّۃَ وَالْکِتٰبَ فَمِنْہُمْ مُھْتَدٍ۔وَکَثِیْرٌ مِّنْہُمْ فٰسِقُوْنَ۔ ثُمَّ قَفَّیْنَا عَلیٰٓ اٰثَارِہِمْ بِرُسُلِنَا صژص ژ8 (حدید:۲۶،۲۷)‘‘ صژص''', style: Get.textTheme.headline6, parse: <MatchText>[ MatchText( pattern: r'(?<=ژژ).*(?=ژژ)', style: TextStyle( color: Colors.red, fontSize: 24, ), renderText: ({String str, String pattern}) { Map<String, String> map = Map<String, String>(); RegExp customRegExp = RegExp(pattern); Match match = customRegExp.firstMatch(str); map['display'] = '\n'; map['value'] = match.group(2); print(match.group(1)); print(match.group(2)); return map; }, ), ], ),
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have unicode data i am trying to parse.
I have following regex
(?<=ژژ).*(?=ژژ)
its working fine on regex101 as you can see following image.I am using following code:
ParsedText( text: ''' ژژ صفحہ نمبر 15ژژص ژ1 ’’وَلَقَدْ اَرْسَلْنَا نُوْحاً وَّاِبْرَاہِیْمَ وَجَعَلْنَافِیْ ذُرِّیَّتِہِمَاالنُّبُوَّۃَ وَالْکِتٰبَ فَمِنْہُمْ مُھْتَدٍ۔وَکَثِیْرٌ مِّنْہُمْ فٰسِقُوْنَ۔ ثُمَّ قَفَّیْنَا عَلیٰٓ اٰثَارِہِمْ بِرُسُلِنَا صژص ژ8 (حدید:۲۶،۲۷)‘‘ صژص''', style: Get.textTheme.headline6, parse: <MatchText>[ MatchText( pattern: r'(?<=ژژ).*(?=ژژ)', style: TextStyle( color: Colors.red, fontSize: 24, ), renderText: ({String str, String pattern}) { Map<String, String> map = Map<String, String>(); RegExp customRegExp = RegExp(pattern); Match match = customRegExp.firstMatch(str); map['display'] = '\n'; map['value'] = match.group(2); print(match.group(1)); print(match.group(2)); return map; }, ), ], ),
The text was updated successfully, but these errors were encountered: