Unsaved Changes Issue
Asked by Josh Lloyd:

I have been having this problem for a while where the edits made in the description box does not always save after clicking "save". Sometimes I'll make edits on 1 computer, and later pull it up on another and those edits have not updated. When I go back to the original computer and open that card, it will say "you have unsaved edits" or something to that matter. I would say the past 6 months or more I have run into this. It's starting to get pretty irritating that when I click save I don't know if it's ACTUALLY saved, and raelly no way for me to even know if those updates have been uploaded, and I may be let down later when I actually need that information.


Answers:
author: Brittany Joiner
body: [@Josh Lloyd](/t5/user/viewprofilepage/user-id/5595821) sounds like a weird bug. You might want to report it?   
But in the meantime, you might want to start creating a "log" in the comments for when you change the description so you can confirm and see previous versions. I've got a video about how to do this here: <https://youtu.be/nE2NsKG8Hms>

comments: author: Josh Lloyd
body: Thank you Brittany I'll try this. Hopefully that will act as a confirmation that a description has been saved.


author: Josh Lloyd
body: I am really confused as to where you came up with regex:/.\*(\\w+).\*/. I just like to understand instead of just copying and pasting. I set it up on my Trello board and it is working great, and I googled regex, this is the first time I've ever heard that term, but that wasn't a whole lot of help to track down where that string came from.


author: Brittany Joiner
body: [@Josh Lloyd](/t5/user/viewprofilepage/user-id/5595821) glad it's working! Regex (short for "regular expressions") is like a special language that helps you find patterns in text. I actually asked ChatGPT to help break down whats happening in that specific string and here's what it said:   

1. / and /: These are the delimiters that mark the beginning and end of the regex pattern. They are not part of the pattern itself but are used to tell the regex engine where the pattern starts and ends.  
2. .: This matches any single character except for newline characters. It's like a wildcard that can stand for any character.  
3. \*: This means "zero or more" of the preceding element. So, .\* together means "match any character (except newline) zero or more times." This can match an empty string, a single character, or a whole bunch of characters.  
4. (\\w+): This is a capturing group, denoted by the parentheses (). Inside the parentheses, we have \\w+:  
? \\w: This matches any word character, which includes letters (both uppercase and lowercase), digits, and underscores.  
? +: This means "one or more" of the preceding element. So, \\w+ means "match one or more word characters."  
5. .: Again, this matches any single character except for newline characters.  
6. \*: Again, this means "zero or more" of the preceding element. So, .\* at the end means "match any character (except newline) zero or more times."  
Putting it all together, /.\*(\\w+).\*/ does the following:  
? .\*: Matches any number of characters (including none) before the main part we're interested in.  
? (\\w+): This is the main part we're interested in. It captures one or more word characters and stores them in a group.  
? .\*: Matches any number of characters (including none) after the main part we're interested in.

<br />

Hope this helps! Regex is pretty cool and you can do lots of stuff with it in Trello automations.


author: Josh Lloyd
body: ![IMG_5783.gif](https://community.atlassian.com/t5/image/serverpage/image-id/348235iBC4246A985D7A8A2/image-size/large?v=v2&px=999 "IMG_5783.gif")


author: Brittany Joiner
body: ?


Tags: cloud

trello-cloud