Let’s consider this example:
<category>
    <pattern>_ MOVIES *</pattern>
    <template>
        Cool, let us talk about movies. <think><set name="topic">movies</set></think>
    </template>
</category>
<topic name="movies">
    <pattern>{other pattern}</pattern>
    <template>...</template>
    <pattern>*</pattern>
    <template>
        { some text }
    </template>
</topic> 
Wouldn’t this go forever as * is there to match any pattern and topic movies was set? Is there a way to interrupt this, something like return directive in functions? If * isn’t present and there’s no matching pattern in that topic, it will look for categories outside of it, right?

 RSS AI Zone
            
        
            
            
            
        
            
            
            
        
            
            
            
        
            
