Jeremy Mann wrote:
>
> Given this in $_
> Most popular title searches: HREF="/title/tt0244365/">"Enterprise" (2001)"
>
> why would this regex not put digits in $1 ?
>
> $data2 =~ /popular title searches:<\/p> HREF=\"\/title\/tt(\d*)\/\">/
If the text is in $_ then that should be:
$_ =~ m|popul
On Dec 19, 2003, at 12:47 PM, Jeremy Mann wrote:
Given this in $_
Most popular title searches:"Enterprise" (2001)"
why would this regex not put digits in $1 ?
$data2 =~ /popular title searches:<\/p>/
Because the regex targets the $data2 variable instead of $_, possibly.
I don't seen anything wr
* Jeremy Mann <[EMAIL PROTECTED]> [2003-12-19T13:47:26]
> Given this in $_
> Most popular title searches: HREF="/title/tt0244365/">"Enterprise" (2001)"
>
> why would this regex not put digits in $1 ?
>
> $data2 =~ /popular title searches:<\/p> HREF=\"\/title\/tt(\d*)\/\">/
This code:
$da
>Given this in $_
>Most popular title searches:"Enterprise"
>(2001)"
>
>why would this regex not put digits in $1 ?
>
>$data2 =~ /popular title searches:<\/p>/
Then "$datas =~ "should be removed and just use
/popular title searches:<\/p>/
You are going vs $data2 when you state the valu
>Given this in $_
>Most popular title searches:HREF="/title/tt0244365/">"Enterprise" (2001)"
>
>why would this regex not put digits in $1 ?
>
>$data2 =~ /popular title searches:<\/p>HREF=\"\/title\/tt(\d*)\/\">/
>
Hi,
Snip---
$data2='Most popular title searches:"Enterprise" (2001)"';
$data2 =~