using pipe delimited string in URL in django

I am trying to pass a pipe delimited string as a parameter in my url in django, but it fails to route to the respective view.

This is my pipe delimited string:

“main/1|adel|1|1989-09-19|1|1|test alert|2018-03-16-09-26-00|test module|1|1|test encounter”

and this is my url pattern:

url(r'^main/(?P<message>\w+)/$',views.TheView.as_view({'get':'view'}),name = 
'main')

using pipe delimited string in URL in django