emacs/var/elfeed/db/data/10/102afbe774eb3b0a6c63966e1267467575e40358
2022-01-03 12:49:32 -06:00

1 line
1.3 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>Dear all.</p> <p>I have some text with selected phrases marked within asterisks (&quot;*&quot;) because org-mode syntax helps to visualize them inside the text, and I&#39;d like to extract those phrases to another buffer.</p> <p>As I understand after some searching, one way is to use occur.</p> <p>However, I&#39;m struggling (to say it lightly) to find a working regex for this occurrence that is &quot;whatever is between asterisks&quot;. I tried txt2regex but no success still...</p> <p>Does anyone knows a way to do this; or been in this situation and found a different approach? My lisp/regex fu is very much near the bottom, but I&#39;m happy to learn.</p> <p>As always, thanks a lot for your time and attention. :)</p> <p>Best regards...</p> <p>&#x200B;</p> <p>PD: I&#39;m thinking about ways to do semantic analysis with org-mode. If anyone&#39;s interested on this we can arrange some collaboration. :)</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/edumerco"> /u/edumerco </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/rco34g/extracting_phrases_between_asterisks/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/rco34g/extracting_phrases_between_asterisks/">[comments]</a></span>