Skip to content
Browse files

Annotations: support for char \ in annotation name

  • Loading branch information...
1 parent 7c3c578 commit 897c11c3d9374d5a602b22e3156cab4ad5b93ac4 @achtan achtan committed with dg Mar 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Nette/Reflection/AnnotationsParser.php
View
2 Nette/Reflection/AnnotationsParser.php
@@ -28,7 +28,7 @@
const RE_STRING = '\'(?:\\\\.|[^\'\\\\])*\'|"(?:\\\\.|[^"\\\\])*"';
/** @internal identifier */
- const RE_IDENTIFIER = '[_a-zA-Z\x7F-\xFF][_a-zA-Z0-9\x7F-\xFF-]*';
+ const RE_IDENTIFIER = '[_a-zA-Z\x7F-\xFF][_a-zA-Z0-9\x7F-\xFF-\\\]*';
/** @var bool */
public static $useReflection;

0 comments on commit 897c11c

Please sign in to comment.
Something went wrong with that request. Please try again.