Forum Navigation
replaceAll not found ???
Moderators:
kris
Posted: 03/13/08 02:52:04Using tango 0.99.5 (and dmd 1.027 that came with it), I am getting a very strange error.
$ make gtp.d(36): import replaceAll not found gtp.d(36): alias gtp.replaceAll recursive alias declaration make: *** [housebot-0.7] Error 1
$ grep -n replaceAll gtp.d 36:import tango.text.Regex : replaceAll, split; 462: char[] squeezedLine = replaceAll(replaceAll(replaceAll(replaceAll(line, "\t"," ")," "," ")," ","")," $","");
The code compiled in 0.99.4. I changed sub(x,y,"g") to replaceAll(x,y) and updated the import. I'm completely baffled by the error. Any ideas?