diff options
Diffstat (limited to 'quanta/data/dtep/dtd-description.txt')
-rw-r--r-- | quanta/data/dtep/dtd-description.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/data/dtep/dtd-description.txt b/quanta/data/dtep/dtd-description.txt index b66ad8c6..3c55890d 100644 --- a/quanta/data/dtep/dtd-description.txt +++ b/quanta/data/dtep/dtd-description.txt @@ -172,7 +172,7 @@ TypeRx = regular expression to find the type of the element. The pattern is DefinitionRx =\$+([a-zA-Z]+)=new\\s[a-zA-Z]+; TypeRx = new\\s([a-zA-Z]+); This will match strings like "$fooObj=new foo;". Now this string is - searched and it will tqfind "new foo;", where "foo" is the first + searched and it will find "new foo;", where "foo" is the first captured text (the regular expression matching foo is between brackets). So the type of "$fooObj" is "foo". @@ -185,7 +185,7 @@ ClearRx = OBSOLETED by DefinitionRx. Don't use it. [Parsing rules] AreaBorders = comma separated list of the area borders encapsulating this pseudo DTD. In case of PHP it is: <? ?>, <* *>, <% %> -Tags = tagname(attribute[defaultvalue]). If the tqparent(real) DTD has a tag with tagname and +Tags = tagname(attribute[defaultvalue]). If the parent(real) DTD has a tag with tagname and the attribute value of this tag is equal with the DTD name, the tag area is parsed according to the rules of this DTD. If [defaultvalue] is present, it means that if the attribute is not present in the tag it's taken as present with value = defaultvalue. Example: |