Revision 13711
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/web/username_prefix.php | ||
---|---|---|
12 | 12 |
# remove padding used to visually separate elements:__x__@y__@url -> x@y@url |
13 | 13 |
$path = preg_replace('/\b__|__\b/', '', $path); |
14 | 14 |
|
15 |
# remove word-wraps: x_-_.y@url -> x.y@url |
|
16 |
# the _ are needed to work in Google spreadsheets |
|
17 |
$path = str_replace('_-_', '', $path); |
|
18 |
|
|
15 | 19 |
# remove comments: (c)x(d)@url -> x@url |
16 | 20 |
# can't use : for this because Firefox will not update the "password" for |
17 | 21 |
# the website with the new value after the : |
Also available in: Unified diff
web/username_prefix.php: added support for word-wraps of the form x_-_.y@url -> x.y@url (the _ are needed to work in Google spreadsheets)