@@ -221,23 +221,31 @@ impl Commands {
221221 termial : Self :: contains_command_format ( text, "termial" )
222222 || Self :: contains_command_format ( text, "triangle" ) ,
223223 no_note : Self :: contains_command_format ( text, "no note" )
224+ || Self :: contains_command_format ( text, "no\\ _note" )
224225 || Self :: contains_command_format ( text, "no_note" ) ,
225226 write_out : Self :: contains_command_format ( text, "write_out" )
226- || Self :: contains_command_format ( text, "write_num" ) ,
227+ || Self :: contains_command_format ( text, "write\\ _out" )
228+ || Self :: contains_command_format ( text, "write_num" )
229+ || Self :: contains_command_format ( text, "write\\ _num" ) ,
227230 }
228231 }
229232 pub fn overrides_from_comment_text ( text : & str ) -> Self {
230233 Self {
231234 shorten : !Self :: contains_command_format ( text, "long" ) ,
232235 steps : !( Self :: contains_command_format ( text, "no steps" )
233- || Self :: contains_command_format ( text, "no_steps" ) ) ,
236+ || Self :: contains_command_format ( text, "no_steps" )
237+ || Self :: contains_command_format ( text, "no\\ _steps" ) ) ,
234238 nested : !( Self :: contains_command_format ( text, "no_nest" )
239+ || Self :: contains_command_format ( text, "no\\ _nest" )
235240 || Self :: contains_command_format ( text, "multi" ) ) ,
236241 termial : !( Self :: contains_command_format ( text, "no termial" )
237- || Self :: contains_command_format ( text, "no_termial" ) ) ,
242+ || Self :: contains_command_format ( text, "no_termial" )
243+ || Self :: contains_command_format ( text, "no\\ _termial" ) ) ,
238244 no_note : !Self :: contains_command_format ( text, "note" ) ,
239245 write_out : !( Self :: contains_command_format ( text, "dont_write_out" )
240- || Self :: contains_command_format ( text, "normal_num" ) ) ,
246+ || Self :: contains_command_format ( text, "dont\\ _write\\ _out" )
247+ || Self :: contains_command_format ( text, "normal\\ _num" )
248+ || Self :: contains_command_format ( text, "normal\\ _num" ) ) ,
241249 }
242250 }
243251}
0 commit comments