No, my version takes everything except the last "#...", your example takes everything before the first #