Opened 12 years ago

Closed 12 years ago

#9331 closed (invalid)

More regexp examples needed for documentation

Reported by: Roland van Laar Owned by: nobody
Component: Documentation Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Extra regexp examples would be nice because it's new for some developers.
The only examples deal with integers, it would be nice to include short descriptions of \d \D \s \D \w and \W.
Such as: (r'(?P<user>\w+)/user_detail/$','django.views.generic.simple.direct_to_template', {'template' : 'user_detail.html'}),

Change History (2)

comment:1 Changed 12 years ago by Roland van Laar

Component: UncategorizedDocumentation

comment:2 Changed 12 years ago by James Bennett

Resolution: invalid
Status: newclosed

This is a case where people who are new to programming probably will benefit the most not from a simplified cheat-sheet in our docs, but from going out and actually learning the concept (regular expressions are a pretty fundamental thing developers should know).

Note: See TracTickets for help on using tickets.
Back to Top