Posted 20 years ago
by Paul Huckstepp
- United Kingdom

One of my SE2.5 HTML definition files has the segment below in it that is used to colour HTML table tags a certain colour. Since upgrading to v3 and making the changes in the 2-3 upgrade guide the table tags are no longer working and I cannot work out why:
Other similar definitions are working but it seems that ones that use (item1|item2) regular expression chunk don't work.
Have I missed something?
<State Key="StartTableState" TokenKey="StartTagDefaultToken" Style="TableConstruct">
<Scopes>
<Scope>
<RegexPatternGroup Type="StartScope" TokenKey="StartTagStartToken" Style="TableConstruct" PatternValue="<(table|tr|td|th|tbody|thead|/table)" />
<RegexPatternGroup Type="EndScope" TokenKey="StartTagEndToken" Style="TableConstruct" PatternValue=">" />
</Scope>
</Scopes>
<ChildStates>
<ChildState Key="StartTagAttributeValueState" />
<ChildState Key="ASPDirectiveResponseWriteState" />
<ChildState Key="ASPDirectiveCodeState" />
</ChildStates>
</State>
Have I missed something?