in reply to Re: Parsing Math Strings
in thread Parsing Math Strings
#You might want to do something to look for say sin, cos, tan, etc. unless( $str =~ /[^0-9+-*^/.,_()]/ ){ eval($str); }
--
perl -p -e "s/(?:\w);([st])/'\$1/mg"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Parsing Math Strings
by Fastolfe (Vicar) on Dec 07, 2001 at 00:08 UTC | |
by belg4mit (Prior) on Dec 07, 2001 at 03:48 UTC |