#73 Text coloring corrupted with: grep /\s+/

v1.0 (example)
open
nobody
5
2005-03-30
2005-03-30
Jean-Phi
No

# Here is my example:
my $grep_pattern= "^\\s";
my @local_replica_info=
grep /$grep_pattern/, # This is fine
@my_array;

my @local_replica_info=
grep /\s/, # This corrupts text coloration
@my_array;

# Now text coloration is corrupted ....

Discussion


Log in to post a comment.