6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/29/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#3541] Improper regular expressions for matching addresses in Horde/UI/VarRenderer/html.php
*
Your Email Address
*
Spam protection
Enter the letters below:
.___. __..__ .__ .__ _/ (__ [__)[__)| \ ./__..__)| | \|__/
Comment
>> "USA", ie. US American addresses. I think that the regex should check > >> for word boundaries: \b(ACT|NSW|NT|QLD|SA|TAS|VIC|WA)\b. Possibly, > >> the regex for UK addresses should also be updated. > > > > I've added the word boundary checks, thanks. > > > >> BTW, what about adding comments with example addresses that show > >> what address style these regular expressions are supposed to match? > > > > Sounds good. If you could submit a patch for it that'd be great. If > you're not quite up to a patch, you could start a small wiki page - > probably under the developer docs, http://wiki.horde.org/Doc/Dev - > with notes on the code.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers