File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -356,9 +356,12 @@ pub fn raw_dialect() -> Dialect {
356356 let pattern = reserved_keywords. iter ( ) . join ( "|" ) ;
357357 let anti_template = format ! ( "^({pattern})$" ) ;
358358
359- RegexParser :: new ( "[\\ p{L}\\ p{N}_]*[\\ p{L}][\\ p{L}\\ p{N}_]*" , SyntaxKind :: NakedIdentifier )
360- . anti_template ( & anti_template)
361- . to_matchable ( )
359+ RegexParser :: new (
360+ "[\\ p{L}\\ p{N}_]*[\\ p{L}][\\ p{L}\\ p{N}_]*" ,
361+ SyntaxKind :: NakedIdentifier ,
362+ )
363+ . anti_template ( & anti_template)
364+ . to_matchable ( )
362365 } )
363366 . into ( ) ,
364367 ) ,
Original file line number Diff line number Diff line change @@ -412,15 +412,21 @@ pub fn raw_dialect() -> Dialect {
412412 ) ,
413413 (
414414 "ParameterNameSegment" . into ( ) ,
415- RegexParser :: new ( r#"[\p{L}_][\p{L}\p{N}_$]*|\"[^\"]*\""# , SyntaxKind :: Parameter )
416- . to_matchable ( )
417- . into ( ) ,
415+ RegexParser :: new (
416+ r#"[\p{L}_][\p{L}\p{N}_$]*|\"[^\"]*\""# ,
417+ SyntaxKind :: Parameter ,
418+ )
419+ . to_matchable ( )
420+ . into ( ) ,
418421 ) ,
419422 (
420423 "FunctionNameIdentifierSegment" . into ( ) ,
421- RegexParser :: new ( r"[\p{L}_][\p{L}\p{N}_$]*" , SyntaxKind :: FunctionNameIdentifier )
422- . to_matchable ( )
423- . into ( ) ,
424+ RegexParser :: new (
425+ r"[\p{L}_][\p{L}\p{N}_$]*" ,
426+ SyntaxKind :: FunctionNameIdentifier ,
427+ )
428+ . to_matchable ( )
429+ . into ( ) ,
424430 ) ,
425431 (
426432 "FunctionContentsExpressionGrammar" . into ( ) ,
You can’t perform that action at this time.
0 commit comments