Added g modifier on content regexp