Skip to content

Commit aa57af6

Browse files
committed
Fix regex for parsing crate name
1 parent 2ca475a commit aa57af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/ada/lsp-alire.adb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ package body LSP.Alire is
9898
GNAT.OS_Lib.Locate_Exec_On_Path ("alr");
9999

100100
Crate_Pattern : constant VSS.Regular_Expressions.Regular_Expression :=
101-
VSS.Regular_Expressions.To_Regular_Expression ("^([^=]+)=");
101+
VSS.Regular_Expressions.To_Regular_Expression ("^([^= ]+)=");
102102

103103
Project_Pattern : constant VSS.Regular_Expressions.Regular_Expression :=
104104
VSS.Regular_Expressions.To_Regular_Expression

0 commit comments

Comments
 (0)