use simpler code instead of regex matching (better readability)
use simpler code instead of regex matching (better readability)

test-editor/test-editor-xtext,test-editor/test-editor-xtext,test-editor/test-editor-xtext,test-editor/test-editor-xtext,test-editor/test-editor-xtext