From: bangerth Date: Wed, 2 Jun 2010 14:53:06 +0000 (+0000) Subject: Doxygen now uses X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1efae159d82cab8aa904284a5c5f87b797684b48;p=dealii-svn.git Doxygen now uses instead of for anchors. Recognize these as well. git-svn-id: https://svn.dealii.org/trunk@21143 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/common/scripts/validate-xrefs.pl b/deal.II/common/scripts/validate-xrefs.pl index 56659a9312..8b66c9704d 100644 --- a/deal.II/common/scripts/validate-xrefs.pl +++ b/deal.II/common/scripts/validate-xrefs.pl @@ -58,8 +58,8 @@ foreach $filename (@ARGV) open IN2, $filename; $found = 0; while ( ) { - while ( /]* name=\"?(.*?)[\s\"]/gi ) { - if ( $1 eq $internal_ref) { + while ( /]* (name=|class=\"anchor\" id=)\"?(.*?)[\s\"]/gi ) { + if ( $2 eq $internal_ref) { print " found.\n" if $debug; $found = 1; last; @@ -87,8 +87,8 @@ foreach $filename (@ARGV) open IN2, $external_file; $found = 0; while ( ) { - while ( /]* name=\"?(.*?)[\s\"]/gi ) { - if ( $1 eq $external_ref) { + while ( /]* (name=|class=\"anchor\" id=)\"?(.*?)[\s\"]/gi ) { + if ( $2 eq $external_ref) { print " found.\n" if $debug; $found = 1; last;