Fix wslua docs script to handle module names with digits, like Int64/UInt64

The fix in commit 28e028ddd5 missed the module
name, which was only grabbing alphabetic characters not numbers. This fixes
that oversight.

Change-Id: I65a87279024a81b33a8deb83b7a3573ea6eaf139
Reviewed-on: https://code.wireshark.org/review/117
Reviewed-by: Evan Huus <eapache@gmail.com>
Tested-by: Evan Huus <eapache@gmail.com>
This commit is contained in:
Hadriel Kaplan 2014-02-04 18:26:07 -05:00 committed by Evan Huus
parent 9eaa61109e
commit c391d740fd
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ my @control =
(
# This will be scanned in order trying to match the re if it matches
# the body will be executed immediatelly after.
[ 'WSLUA_MODULE\s*([A-Z][a-zA-Z]+)([^\*]*)',
[ 'WSLUA_MODULE\s*([A-Z][a-zA-Z0-9]+)([^\*]*)',
sub {
$module{name} = $1;
$module{descr} = $2