Was extracting the last two decimal digits from a hex humber.
I switched to using grep and sed because the proposed solution
didn't work on Solaris 11.3.
470978 s390x: Valgrind cannot start qemu-kvm when "sysctl vm.allocate_pgste=0"
471807 Add support for lazy reading and downloading of DWARF debuginfo
472219 Syscall param ppoll(ufds.events) points to uninitialised byte(s)
+472963 Broken regular expression in configure.ac
To see details of a given bug, visit
https://bugs.kde.org/show_bug.cgi?id=XXXXXX
AC_MSG_WARN([Function `scf_handle_bind' does not contain repository cache protocol version.])
AC_MSG_ERROR([Cannot determine version of the repository cache protocol.])
fi
-hex=$( $DIS_PATH -F scf_handle_bind $libscf | perl -pe '($_) = /0x(?:4d01)?526570(\d{2}),/' )
+hex=$( $DIS_PATH -F scf_handle_bind $libscf | grep 526570 | sed 's/.*526570//;s/,.*//' )
if test -z "$hex"; then
AC_MSG_WARN([Version of the repository cache protocol is empty?!])
AC_MSG_ERROR([Cannot determine version of the repository cache protocol.])