Changeset 8957 for lang/perl/Net-Kotonoha
- Timestamp:
- 04/06/08 09:20:33 (5 years ago)
- Files:
-
- 1 modified
-
lang/perl/Net-Kotonoha/trunk/lib/Net/Kotonoha.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Net-Kotonoha/trunk/lib/Net/Kotonoha.pm
r8882 r8957 111 111 foreach my $line ($tree->findnodes(selector_to_xpath($xpath))) { 112 112 my $html = decode_entities($line->as_HTML); 113 if ($html =~ /<a href="\/user\/(\w+)">([^<]+)<\/a>[^<]+<a href="\/no\/(\d+)">([^<]+)<\/a>([^ ]+)( [^ ]+ (.+))?$/) {113 if ($html =~ /<a href="\/user\/(\w+)">([^<]+)<\/a>[^<]+<a href="\/no\/(\d+)">([^<]+)<\/a>([^ ]+)(?: [^ ]+ (.+))?$/) { 114 114 push @list, { 115 115 user => $1, 116 116 name => $2, 117 comment => $ 7|| '',117 comment => $6 || '', 118 118 answer => $5, 119 119 koto_no => $3,
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)