perl.sugar icon indicating copy to clipboard operation
perl.sugar copied to clipboard

Everything after / is invalid

Open grmrgecko opened this issue 13 years ago • 3 comments

When I do a division in perl with this sugar, it detects / as regex and misses up formatting.

grmrgecko avatar Jul 06 '11 17:07 grmrgecko

Sorry, but I am not using Espresso anymore...

On 06.07.2011, at 19:23, GRMrGecko wrote:

When I do a division in perl with this sugar, it detects / as regex and misses up formatting.

Reply to this email directly or view it on GitHub: https://github.com/markuszeller/perl.sugar/issues/3

markuszeller avatar Jul 06 '11 17:07 markuszeller

@GRMrGecko, have you tried my fork of the perl.sugar? It may fix your issue.

jrsinclair avatar Jul 06 '11 23:07 jrsinclair

No, I had to add #/ to prevent it from missing up the rest of my code highlighting. If you have to have the regex surgar installed and then you can enter this to see what I am talking about.

#!/usr/bin/perl

$value = 6/8;

print $value."\n";

If there is a better regex surgar that you use, let me know.

grmrgecko avatar Jul 07 '11 22:07 grmrgecko