DataFlex Studio Search regex tips: Difference between revisions

m
(Created page with "'' Tips from Marco '' The DataFlex Studio has the possibility to use regular expressions in the Find dialog. This opens the possibility to search for very specific things. ==== Find <xx> Table ==== Useful is <source lang="dataflex"> find .. Customer </source> where the . is any character, so eq gt ge etc. If you also have and would like to find any number of spaces then you can extend it by \s for a space character followed by one or more with a + <source lang=...")
 
 
(2 intermediate revisions by the same user not shown)
Line 26: Line 26:




==== Looking for a function that as a number as the parameter ====
==== Looking for a function that has a number as the parameter ====


<source lang="dataflex">
<source lang="dataflex">
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]]