You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The match() method has the parameter caseInsensitive. Can we make this the same as Dart SDK's RegExp constructor, which has a caseSensitive parameter?
I find myself constantly specifying the wrong named parameter because of this. So, nowadays I'm always trying to remember which way it was and do I need true or false here.
This adds burden to the executive control of my working memory (cognitive load). Therefore this is a UX issue (maybe tag with Enhancement).
Maybe we could even allow the user to specify either of those?
The text was updated successfully, but these errors were encountered:
I think maybe change match() API altogether.
Make it match(String fieldName, Pattern pattern)
So methods would accept or String pattern (with default values for multiline and caseSensitive) or RegExp with these params set.
The
match()
method has the parametercaseInsensitive
. Can we make this the same as Dart SDK's RegExp constructor, which has acaseSensitive
parameter?I find myself constantly specifying the wrong named parameter because of this. So, nowadays I'm always trying to remember which way it was and do I need
true
orfalse
here.This adds burden to the executive control of my working memory (cognitive load). Therefore this is a UX issue (maybe tag with Enhancement).
Maybe we could even allow the user to specify either of those?
The text was updated successfully, but these errors were encountered: