diff options
Diffstat (limited to 'include/cow_parse.hrl')
-rw-r--r-- | include/cow_parse.hrl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cow_parse.hrl b/include/cow_parse.hrl index 48b410c..ee4af70 100644 --- a/include/cow_parse.hrl +++ b/include/cow_parse.hrl @@ -66,6 +66,10 @@ ?IS_ALPHA(C) or ?IS_DIGIT(C) or (C =:= $-) or (C =:= $.) or (C =:= $_) or (C =:= $~)). +-define(IS_URI_GEN_DELIMS(C), + (C =:= $:) or (C =:= $/) or (C =:= $?) or (C =:= $#) or + (C =:= $[) or (C =:= $]) or (C =:= $@)). + -define(IS_URI_SUB_DELIMS(C), (C =:= $!) or (C =:= $$) or (C =:= $&) or (C =:= $') or (C =:= $() or (C =:= $)) or (C =:= $*) or (C =:= $+) or |