DataFlex Studio Search regex tips: Difference between revisions

added "Find old subroutines"
mNo edit summary
(added "Find old subroutines")
Line 43: Line 43:
  "returns"  
  "returns"  


==== Find old subroutines ====
<source lang="dataflex">
^\w+:
</source>
^ is start at character 1 on the line
\w is a word character
+ is one of more of the previous
: is exactly that, a ':'
So this finds
<source lang="dataflex">
Start:
Start_A:
Start_5:
</source>
But not if there is a space before the word or a space between the word character and the :


[[Category: Studio]]
[[Category: Studio]]