in reply to Re^2: read/write delete duplicates/sort PROBLEM! - Use of uninitialized value in sprintf
in thread read/write delete duplicates/sort PROBLEM! - Use of uninitialized value in sprintf
The variables $1 and $2 contain the parts matched by the respective capture groups. \d* means "zero or more digits", [[:alpha:]]* means "zero or more characters". In your new regex, you don't have any parentheses:m/<tagid=(\d*)([[:alpha:]]*)>/ <~~~><~~~~~~~~~~~~> #1 #2
So $1 and $2 aren't populated.m/<endnote id=/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: read/write delete duplicates/sort PROBLEM! - Use of uninitialized value in sprintf
by VladP (Novice) on Oct 18, 2021 at 17:58 UTC | |
by haukex (Archbishop) on Oct 18, 2021 at 18:10 UTC | |
by afoken (Chancellor) on Oct 18, 2021 at 18:27 UTC | |
by bliako (Abbot) on Oct 18, 2021 at 18:45 UTC |