libwww-perl / libwww-perl/HTTP-Message
decoded_content does not save regex position [rt.cpan.org #92917]
Open
Nobody has claimed this yet.
- Dominant language
- Perl
- Stars
- 32
- Forks
- 63
- Avg merge
- 5h 14m
- Merged PRs (30d)
- 1
Description
Migrated from rt.cpan.org#92917 (status was 'open')
Requestors:
- Pascal@rkfd.com
From pascal@rockford.com on 2014-02-10 20:38:49:
There is a good tutorial at http://www.regular-expressions.info/continue.html on how regex should work.
From leonerd-cpan@leonerd.org.uk on 2015-09-09 15:29:48:
The way that 'pos' magic works on SVs makes it hard to support this on the return value of an object method.
There's a chance that something might work if it's written as an :lvalue-attributed method though.
--
Paul Evans
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the decoded_content method and reviewing how Perl's pos behavior applies to its return value. The issue names no file or test, so inspect existing tests around decoded_content before defining coverage. Done means establishing whether the regex position can be preserved and documenting or testing the resulting behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- perl
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100