Posted 20 years ago
by smallguy
![Avatar](https://secure.gravatar.com/avatar/5ee5095e8b9f3f6b335a41706b953512.jpg?s=64&d=identicon&r=g)
I have the following as a test:
<!-- PHP Code Block -->
<State Key="PHPDirectiveCodeState" Filename="ActiproSoftware.VBScript.xml" ChildLanguageBackColor="WhiteSmoke">
<!-- Scopes -->
<Scopes>
<Scope>
<ExplicitPatternGroup Type="StartScope" Token="PHPDirectiveStartToken" Style="ASPDelimiterStyle" PatternValue="<\?"/>
<ExplicitPatternGroup Type="EndScope" Token="PHPDirectiveEndToken" Style="ASPDelimiterStyle" PatternValue="\?>"/>
</Scope>
</Scopes>
</State>
but the ? isn't being found. I tried it without the \ and also inside [], but still no luck. Any ideas how to solve this?
Thanks in advance
<!-- PHP Code Block -->
<State Key="PHPDirectiveCodeState" Filename="ActiproSoftware.VBScript.xml" ChildLanguageBackColor="WhiteSmoke">
<!-- Scopes -->
<Scopes>
<Scope>
<ExplicitPatternGroup Type="StartScope" Token="PHPDirectiveStartToken" Style="ASPDelimiterStyle" PatternValue="<\?"/>
<ExplicitPatternGroup Type="EndScope" Token="PHPDirectiveEndToken" Style="ASPDelimiterStyle" PatternValue="\?>"/>
</Scope>
</Scopes>
</State>
but the ? isn't being found. I tried it without the \ and also inside [], but still no luck. Any ideas how to solve this?
Thanks in advance