Mapping # in file using type_table_path


(Chris Marino) #1

I'm using the word_delimiter filter and wanted to create a type_table_path file to store my mappings. Howerver, one of my mappings is for the hash sign (#).

How can I prevent the parser from treating this line as a comment?

# Mapping some characters to ALPHA.
@ => ALPHA
# => ALPHA

(Nik Everett) #2

Try \u0023 => ALPHA.


(Chris Marino) #3

That worked, thanks Nik!


(system) #4