ruby adding single \ to escape # instead of double slash
for example, the '#' in string 'sd@#' is preceded with single '\' like this 'sd@#' automatically. I think it should add '\\'(double slash) to escape '#'. Is it a bug in ruby syntax? if not is there a way to escape it manually
Please help
Aucun commentaire:
Enregistrer un commentaire