[erlang-questions] user agent parsing.

Alexander Shorin kxepal@REDACTED
Fri May 26 14:02:46 CEST 2017

I fear there is no way to do that without regular expressions since
User-Agent header has no well formed structure and there could be
anything. And actually people puts there anything they like.  So yes,
all you need is maintain list of regexps and extract with them all the
bits you need.

On Fri, May 26, 2017 at 2:59 PM, Max Lapshin <max.lapshin@REDACTED> wrote:
> So all people are parsing it with a list of regexes?
> Seems that it is a problem for me, because I have such entries like  HLS
> Client/2.0 (compatible; LG NetCast.TV-2012) or Flash MAC

More information about the erlang-questions mailing list