segment pattern to match a single segment, also matches UTF-8 segments.
added 'u' flag for preg_match to match UTF-8 URIs.
.
Merge pull request #1275 from Sadeghi85/develop

segment pattern to match a single segment, also matches UTF-8 segments.