1

I came across this question :

regular expression for title case - Python

The title was exactly what I was googling for.

But the question body asks about overlapping regex, and not about matching a general title case phrase.

Should I answer the title (since it's what people Google for) or edit it to match the body ?

6

The body of a question contains more information than the title, and is more likely to express the true intentions of the OP. A look at the existing answers may also help in determining what is really being asked.

If you ever encounter a new question where the body doesn't match the title, it's probably best to ask the author (in a comment) what they really mean; on an old question like this, feel free to (suggest an) edit to make the title match the question body.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .