Egads!! My bad AnomalousMonk, and much thanks; I had not noticed that about [] -- looks like I have a few scripts to grep thru and correct. Heh-heh. I've also changed the above post. Point being:
s/\s|\t//g;Is more or less equivalent to:
s/[\s\t]//g;Whereas:
s/[\s|\t]//g;Contains that subtle flaw with the pipe. (But again, just \s will do in this case anyway.)
In reply to Re^3: A Hash that is giving me the ####s
by halfcountplus
in thread A Hash that is giving me the ####s
by hoffy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |