J
julien
Hi,
Strange question, if somebody have an answer, will be really helpfull.
I used a regexp (octal) : < \0 > to find < (char)0 > char in a
string.
1) If i get the regexp \0 from a text file, the regexp NOT match.
2) If i defines directly the regexp \0 in java code, the regexp MATCH.
3) If i get regexp \x00 (another way to match (char)0) from a file,
the regexp MATCH
4) If i defines directly the regexp \x00 in java code, the regexp
MATCH
So, to resume, i cant successfull get the regexp from a file.
Any idea ? This case is really strange for me.
Thanks in advance.
Strange question, if somebody have an answer, will be really helpfull.
I used a regexp (octal) : < \0 > to find < (char)0 > char in a
string.
1) If i get the regexp \0 from a text file, the regexp NOT match.
2) If i defines directly the regexp \0 in java code, the regexp MATCH.
3) If i get regexp \x00 (another way to match (char)0) from a file,
the regexp MATCH
4) If i defines directly the regexp \x00 in java code, the regexp
MATCH
So, to resume, i cant successfull get the regexp from a file.
Any idea ? This case is really strange for me.
Thanks in advance.