<human>:  Python regular expression for Beautiful Soup
<bot>: Here is some code to find all `div` tags whose classes has the value `comment-` in a beautiful soup object `soup`

soup.find_all('div', class_=re.compile('comment-'))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.