Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Options

Find/Replace across multiple tabs?

adamohernadamohern Member, OS Professional Posts: 216 PRO
Can I haz it?


Comments

  • Options
    ilya_baranilya_baran Onshape Employees, Developers, HDM Posts: 1,175
    Find across multiple tabs in the same document is available through the magnifying glass.  Replace across tabs and search across documents is still to-be-implemented.
    Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc
  • Options
    adamohernadamohern Member, OS Professional Posts: 216 PRO
    I know about the magnifying glass, and it's good to know replace is coming. If and when  you implement it, I hope you support regex capture groups!
  • Options
    traveler_hauptmantraveler_hauptman Member, OS Professional, Mentor, Developers Posts: 419 PRO
    +1 for regex groups. A mention of what dialect of regex you implement would be essential, making that 'regex' text next to the checkbox a link to whatever dialect you are using would be nice too.
  • Options
    ilya_baranilya_baran Onshape Employees, Developers, HDM Posts: 1,175
    Makes sense.  For the time being, the regex dialect is Java 8's: https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html
    Unfortunately, due to our architecture, we use a different flavor for regex work within FeatureScript match and replace functions: C++'s http://en.cppreference.com/w/cpp/regex/ecmascript

    I am not enough of a regexp expert to tell you exactly what the differences are.
    Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc
Sign In or Register to comment.