I think both are good options, as long as it is well-documented and doesn't have any surprising behavior.  Would you \\ to get a \?  Do double or single quotes matter? etc.