~saurabhanandiit/gtg/exportFixed

« back to all changes in this revision

Viewing changes to GTG/tools/tags.py

  • Committer: Izidor Matušov
  • Date: 2012-02-29 10:06:41 UTC
  • mfrom: (1098 gtg)
  • mto: This revision was merged to the branch mainline in revision 1103.
  • Revision ID: izidor.matusov@gmail.com-20120229100641-q1uns4yqz1fem2z4
Merged with the current trunk & solved problems with offset

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    '''
26
26
    Given a string, returns a list of the @tags contained in that
27
27
    '''
28
 
    return re.findall(r'(?:^|[\s])(@\w+)', text)
 
28
    return re.findall(r'(?:^|[\s])(@[\w\/\.\-]*\w)', text)