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
While testing regexes using emacs I found the following:
my $m = rx /\d ** 2 <?{ 1 <= $/ <= 12 }>/;
then all the text is colored like inside a string, I need to finish the line with #>> in order to finish the two opened <
I added the captures to better view of the problem:
The text was updated successfully, but these errors were encountered:
I encountered a very similar problem: in my case, this happens in strings that start with the <-character:
workaround: you can add "# '>'"-comment snippets in your Raku code.
This is in emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) of 2021-01-31, modified by Debian (the debian package version is 1:26.1+1-3.2+deb10u2). raku-mode is manually cloned: I'm on commit 4ee9045.
Angle brackets are no longer treated as string delimiters, which makes
the $<foobar> syntax slightly uglier but allows us to use less than
signs in code without the rest of the file blowing up.
While testing regexes using emacs I found the following:
my $m = rx /\d ** 2 <?{ 1 <= $/ <= 12 }>/;
then all the text is colored like inside a string, I need to finish the line with #>> in order to finish the two opened <
I added the captures to better view of the problem:
The text was updated successfully, but these errors were encountered: