| The Arcive of vBulletin Modifications Site. | |
| 
			 
			#1  
			
			
			
			
			
		 | |||
| 
 | |||
|  preg_match fails on vb page 
			
			I calling a regex as part of some custom code. The expression fails when called on a vb page, and works just fine on a pure php page (with the same input string). I am guessing there is something in the vb environment that affects how regex are called. Any idea what that might be? Thanks for your help | 
| 
			 
			#3  
			
			
			
			
			
		 | |||
| 
 | |||
|   
			
			Never mind, my fault all along. I was dealing with HTML encoded strings on the vb side, and pure ascii on the test side. I did find, however, that VB is disabling the regex mem/runtime limit in \includes\init.php. Be careful, if you run expensive regular expressions. Code: @ini_set('pcre.backtrack_limit', -1); | 
|  | 
| 
 | 
 | 
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
| 
 | |
|  More Information | |
| Template Usage: 
 Phrase Groups Available: 
 | Included Files: 
 Hooks Called: 
 |