Searched defs:re (Results 1 - 25 of 29) sorted by relevance

12

/inkscape/share/extensions/
H A Dempty_business_card.py6 import re namespace
17 p = re.compile('([0-9.]*)([a-z][a-z])x([0-9.]*)([a-z][a-z])')
H A Dempty_desktop.py6 import re namespace
23 p = re.compile('([0-9]*)x([0-9]*)')
H A Dempty_generic.py6 import re namespace
H A Dempty_video.py6 import re namespace
23 p = re.compile('([0-9]*)x([0-9]*)')
H A Dinkwebeffect.py20 import inkex, sys, os, re namespace
30 if re.search(self.reUpdateJS, scriptEl.text): return True
50 if re.search(self.reUpdateJS, s.text):
H A Dnicechart.py61 import re namespace
254 what = re.findall("([A-Z|a-z|0-9]+:[0-9]+\.?[0-9]*)", what)
317 colors = re.findall("(#[0-9a-fA-F]{6})", colors)
H A Dseamless_pattern.py6 import inkex, sys, re, os namespace
H A Dsimplepath.py22 import re, math namespace
31 delim = re.compile(r'[ \t\r\n,]+')
32 command = re.compile(r'[MLHVCSQTAZmlhvcsqtaz]')
33 parameter = re.compile(r'(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)')
H A Drubberstretch.py23 import copy, math, re namespace
H A Dinterp_att_g.py21 import re namespace
74 if re.search('\s|,', sv):
76 sv = re.split( '[\s,]+', sv )
77 ev = re.split( '[\s,]+', ev )
194 if re.search( re_find, s ):
195 s = re.sub( re_find, '\\1'+ self.inte_att +':'+ str(val) +'\\2', s )
H A DjessyInk_video.py29 import re namespace
88 for entry in re.findall("url\(#.*\)", etree.tostring(node)):
H A Daddnodes.py26 import cubicsuperpath, simplestyle, copy, math, re, bezmisc namespace
H A Dpathalongpath.py36 import re namespace
72 We could work with bezier path as well, but bezier arc lengths are (re)computed for each point
H A Dplotter.py22 import re namespace
H A Dsvgcalendar.py34 import re namespace
140 m = re.match('\s*(.*[^\s])\s*', self.options.month_names)
141 self.options.month_names = re.split('\s+', m.group(1))
142 m = re.match('\s*(.*[^\s])\s*', self.options.day_names)
143 self.options.day_names = re.split('\s+', m.group(1))
H A Dhpgl_encoder.py23 import re namespace
209 if re.search(r'( |\A)pen *\d+( |\Z)', penNum):
210 penNum = re.sub(r'(.* |\A)pen *(\d+)( .*|\Z)', r'\2', penNum, 1)
H A Dsimpletransform.py24 import copy, math, re namespace
30 result=re.match("(translate|scale|rotate|skewX|skewY|matrix)\s*\(([^)]*)\)\s*,?",stransf)
H A DjessyInk_export.py32 import re namespace
H A Dpathmodifier.py33 import re namespace
H A Dpathscatter.py36 import re namespace
86 We could work with bezier path as well, but bezier arc lengths are (re)computed for each point
H A Dinkex.py34 import re namespace
346 unitmatch = re.compile('(%s)$' % '|'.join(self.__uuconv.keys()))
347 param = re.compile(r'(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)')
384 unit = re.compile('(%s)$' % '|'.join(self.__uuconv.keys()))
385 param = re.compile(r'(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)')
H A Dperspective.py24 import re namespace
H A Drender_alphabetsoup.py29 import re namespace
332 #if ( re.match("[a-zA-Z0-9?]", char)):
352 if ( re.match("[a-z]", char )): # generate lowercase letter
354 elif ( re.match("[A-Z]", char )): # generate uppercase letter
/inkscape/share/palettes/
H A Di18n.py5 import re namespace
11 regex = re.compile(r'^\s*\d{1,3}\s+\d{1,3}\s+\d{1,3}\s+([^#\s].*)')
12 regexnoc = re.compile(r'%')
/inkscape/share/extensions/Barcode/
H A DCode128.py27 import re namespace
79 for datum in re.findall(r'(?:(?:\d\d){2,})|(?:^\d\d)|.', text):

Completed in 191 milliseconds

12