tchncs
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
smq to writing@hexbear.netEnglish · 6 months ago

RegEx for Speedy Story Revision

eldritch.cafe

external-link
message-square
0
link
fedilink
  • cross-posted to:
  • writing@beehaw.org
1
external-link

RegEx for Speedy Story Revision

eldritch.cafe

smq to writing@hexbear.netEnglish · 6 months ago
message-square
0
link
fedilink
  • cross-posted to:
  • writing@beehaw.org
RS, Author, Novelist, Prosaist (@sfwrtr@eldritch.cafe)
eldritch.cafe
external-link
Attached: 1 image ## RegEx for Speedy Story Revision Here are the current iteration of these two RegEx search strings. I will update this post to keep it up to date. The \b requires a beginning- or end-of-word to maximize exact matches. The (?: ) is a non-replacing grouping for multiple words with similar issues, *and* for he/she matches. Depending on your writing, you may want to change the pronouns to he|she|it|they. Both RegEx rely on NOT selecting Case Sensitive for searches. * **Negative Protection and Homonyms:** can\b|can't|can not|could\b|couldn't|cannot|shall\b|shan'|shall not|shoud\b|shouldn't|should not|would not|\bwould\b|\bwouldn't|\bwith\b|without|write\b|\bright|lead\b|\bled\b|lede|choose|chose|lose|loose * **Weasel and Hedge Words:** ly\b|\babout\b|almost|already|barely|\bbit\b|begin|\bbegan\b|\can|certain|generally|\bguess|\bjust\b|kind|\blike|maybe|mostly|near|course|pretty|perhaps|possibly|potentially|really|probably|\bseem|\bsome\b|sort|start|\bstill\b|surprisingly|suppose|\bthink\b|usually|could|\bsaw\b|\bheard\b|\bfelt\b|\bknew\b|\bread\b|noticed|recognized|\band\b|\bbut\b|(?:I|he|she) could (?:see|hear|taste|touch)|(?:I|he|she) (?:saw|hear|knew|read|felt|noticed|recognized) that|you can|made certain If you use #Scrivener, this is the procedure for turning these searches into Binder/Left-sidebar buttons on the Mac, though probably similar on Windows: 1. Click the combo-button for Search. 2. Select Search in Project. 3. Copy-Paste a RegEx string and press Enter. 4. Note to the left inside the search control there is a magnifier and a combo-button. Open it. Select at minimum RegEx. I also select the name of my drafts folder, which is Manuscript, and Text so only what I want to revise is shown in the binder. Turn off Case Sensitive if on. 5. Click Save Search as Collection. 6. Provide a name in the dialog (it initially displays the RegEx string). 5. Click View > Binder (if not already check marked). 6. Click View > Collections (if not already check marked). If you need to update a collection, use this procedure: 1. Click the RegEx search collection in the binder. This displays it in the search control. 2. Copy it from the search control. 3. Press the minus button in the + - shown to the right of Collections. This deletes only the selected existing search collection. There is no way to directly update a search collection. 4. Paste your revision. 5. Follow the first set of instructions to recreate the collection. On the iPad and iPhone, RegEx search exists but only finds a single word or phrase at a time. Disappointing, but it works. You will find RegEx which you tap gear icon when using Find. You can't save the search, but I put it in the Notes app so I can reference it easily. The image shows Weasel and Hedge Words in use. In the top left, you'll see the search box with the RegEx, and below it my two collections which are titled **🔍Positives and Negatives** and **🔍Weasel and Hedge Words**. Note the highlights. Desktop Scrivener shows all matches, making quick review and revision a snap. I've added "and" and "but" and "ly" to highlight overuse of conjunctions and adverbs. There's also double-word error highlighted. May your editing, revising, and review be simple and swift! #BoostingIsSharing #Writer #Author #WritingCommunity #WritersOfMastodon #Revise #Revision #Editing #RegEx #search
alert-triangle
You must log in or # to comment.

writing@hexbear.net

writing@hexbear.net

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !writing@hexbear.net

“There’s no greater agony than bearing an untold story inside you”

-Maya Angelou

Welcome to c/writing!

This is a space for all kinds of discussion referring to writing. This could include the structure and style found in different types of writing, authors worth talking about, different genres, trends, etc.

This is also a space for users who wish to share their own writing for feedback. This could look like independently posting excerpts of poems/prose/plays or it could be replying to one of the writing prompt threads. Brainstorming and worldbuilding ideas are welcome too!

Ideally, this will be a community where we work together to become better writers and appreciators of writing in all its forms.

All that said, please note that Code of Conduct still applies here. Please apply content warnings where applicable and spoiler material that might be inappropriate.

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1 user / day
  • 14 users / week
  • 30 users / month
  • 31 users / 6 months
  • 8 local subscribers
  • 22.1K subscribers
  • 46 Posts
  • 130 Comments
  • Modlog
  • mods:
  • OpheliaAzure [fae/faer]@hexbear.net
  • BE: 0.19.13
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org