Package qb :: Package utils :: Module regex
[hide private]
[frames] | no frames]

Source Code for Module qb.utils.regex

 1  ''' 
 2  A module containing any regex objects that could be used across more than 1 module 
 3  ''' 
 4   
 5  #======================================= 
 6  #  $Revision: #2 $ 
 7  #  $Change: 14480 $ 
 8  #======================================= 
 9   
10  import re 
11   
12   
13  #=============================== 
14  # The QB_CONVERT_PATH token is used in the run-time path conversion 
15  # - return the string inside the first found instance of QB_CONVERT_PATH(...) 
16  #=============================== 
17  RGX_CONVERT_PATH_TOKEN = re.compile('QB_CONVERT_PATH\(((?<=\()(?:[^()]+|\([^)]+\))+(?=\)))\)') 
18