Advertisement
shirkit

Untitled

Jul 14th, 2011
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.99 KB | None | 0 0
  1. <tryfind var="jis">the string I wanted to find</tryfind>
  2. <find condition="jis">here the cursor's last position is the "tryfind"'s one</find>
  3. <replace condition="jis">the find above</replace>
  4.  
  5. ---------------------------------------------------------
  6.  
  7. <tryfind var="jis">if this find fails</tryfind>
  8. <tryfind var="jis">this one won't run</tryfind>
  9. <find condition="jis">here the cursor's last position is the "tryfind"'s one</find>
  10. <replace condition="jis">the find above</replace>
  11.  
  12.  
  13. --------------------------------------------------------
  14.  
  15.  
  16. <tryfind var="jis">if this find fails</tryfind>
  17. <tryfind var="jis" condition="jis">this one won't run</tryfind>
  18. <find condition="jis">here the cursor's last position is the "tryfind"'s one</find>
  19. <replace condition="jis">the find above</replace>
  20. <tryfind var="ha" condition="not jis">but this one would run</tryfind>
  21. <find condition="ha">here the cursor's last position is the "tryfind"'s one</find>
  22. <replace condition="ha">the find above</replace>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement