samedi 25 avril 2015

Finding ^@ character in unix?

I'm writing a C++ program where I'm reading file info that contains ^@ between a lot of words. What is this character? I'm guessing it's some expression of a hex value but which one? And what would be the regular expression to match it? Sorry if this is a duplicate, I tried searching on this but no search engine accepts these characters.

I'm new to regular expressions so I have no idea what I'm doing. Would it be something like this?

^.*\^@*.*$

Aucun commentaire:

Enregistrer un commentaire