~ubuntu-branches/ubuntu/lucid/erlang/lucid-proposed

« back to all changes in this revision

Viewing changes to lib/inets/src/http_client/http_uri.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-06-11 12:18:07 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090611121807-ks7eb4xrt7dsysgx
Tags: 1:13.b.1-dfsg-1
* New upstream release.
* Removed unnecessary dependency of erlang-os-mon on erlang-observer and
  erlang-tools and added missing dependency of erlang-nox on erlang-os-mon
  (closes: #529512).
* Removed a patch to eunit application because the bug was fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
    {Host, int_port(Port)}.
93
93
    
94
94
split_uri(UriPart, SplitChar, NoMatchResult, SkipLeft, SkipRight) ->
95
 
    case regexp:first_match(UriPart, SplitChar) of
 
95
    case inets_regexp:first_match(UriPart, SplitChar) of
96
96
        {match, Match, _} ->
97
97
            {string:substr(UriPart, 1, Match - SkipLeft),
98
98
             string:substr(UriPart, Match + SkipRight, length(UriPart))};