Timeline for Using ReplaceAll to change terms that match a pattern
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 23, 2021 at 14:29 | vote | accept | matrixbud | ||
| Jan 23, 2021 at 3:44 | comment | added | matrixbud | Roma, This works perfectly. Exactly what I was looking for. I am self-taught, just using the Documentation Center help, and I was unaware of Replace . Also, I had never seen the x:pat notation but it is much more compact than MatchQ. Similarly, I hadn't figured out to write !MatchQ rather than MatchQ===False. Thank you for those tips. I replaced your two instances of` b Subscript with _ Subscript. I am pretty sure that is what you meant, and it works. Thank you so much. I consider this question to be fully answered. The documentation on x:pat led me to Optional and is skimpy | |
| Jan 22, 2021 at 4:02 | history | answered | Roma Lee | CC BY-SA 4.0 |