Project

General

Profile

« Previous | Next » 

Revision 14114

bugfix: web/username_prefix.php: category comments: need /__/ around regexp

View differences:

trunk/web/username_prefix.php
21 21
	# a UI can replace + with ' ' to produce a linewrap
22 22
	# can't use : for this because Firefox will not update the "password" for
23 23
	#  the website with the new value after the :
24
	$path = preg_replace('^.*?\+', '', $path);
24
	$path = preg_replace('/^.*?\+/', '', $path);
25 25
	
26 26
	# remove insertion comments: [c]x[d]@url -> x@url
27 27
	# use [] because in writing, [] denotes insertion

Also available in: Unified diff