Can someone please explain to me this behaviour?:

string=string
print ${string//+(g)}

returns "strin", as you would expect; but

print ${string//!(g)}

returns blank ... I was expecting "g"

Any help would be appreciated,

Doug


_____________________________________________
Dr. Douglas R. Houston
Room 3.23
Institute of Structural and Molecular Biology
Michael Swann Building
King's Buildings
University of Edinburgh
Edinburgh, EH9 3JR, UK
Tel. 0131 650 7358

--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


_______________________________________________
uwin-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/uwin-users

Reply via email to