php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18306 Replace [a-z]
Submitted: 2002-07-12 07:55 UTC Modified: 2002-07-12 08:09 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: webmaster at webgrauen dot de Assigned:
Status: Not a bug Package: *Regular Expressions
PHP Version: 4.2.1 OS: Linux Apache1.3.23
Private report: No CVE-ID: None
 [2002-07-12 07:55 UTC] webmaster at webgrauen dot de
It works only with upercase letters.

This will replace letters in upper cases if you type more as 5 in a row(This do parse guestbook entries). But it dont work with lower cases.

$HTTP_POST_VARS[message]= preg_replace("/([A-Z]{5,})/","\t\t","$HTTP_POST_VARS[message]");

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-12 08:09 UTC] derick@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php

Thank you for your interest in PHP.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 12:01:25 2019 UTC