We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 340e611 commit c61d5b8Copy full SHA for c61d5b8
lib/src/api/regexes.dart
@@ -123,7 +123,7 @@ final RegExp variablePathRegex = RegExp(variablePathPattern);
123
/// on $ or ${} curly braces in a string while the text/path is actively being
124
/// composed.
125
const String variablePathComposingPattern =
126
- r'(?<!\\)\$\{?(?<value>(?<name>[a-zA-Z][a-zA-Z0-9_]*)((?<accessor>(?:\[\d+\])+)?(?:\.(?<path>[a-zA-Z]+[a-zA-Z0-9_]*(?:\[\d+\])*))*)?)?\}?';
+ r'(?<!\\)\$\{?(?<value>(?<name>[a-zA-Z][a-zA-Z0-9_]*)((?<accessor>(?:\[\d+\])+)?(?:\.(?!\.)(?<path>[a-zA-Z]+[a-zA-Z0-9_]*(?:\[\d+\])*)?)*)?)?\}?';
127
128
/// Regex for [variablePathComposingPattern].
129
final RegExp variablePathComposingRegex = RegExp(variablePathComposingPattern);
0 commit comments