# Grammartron (or something similar) for macOS

**URL:** https://community.mp3tag.de/t/grammartron-or-something-similar-for-macos/60184
**Category:** Mac
**Created:** [February 24, 2023, 2:35am UTC](https://community.mp3tag.de/t/grammartron-or-something-similar-for-macos/60184 "2023-02-24T02:35:30Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Autre31415](https://community.mp3tag.de/user_avatar/community.mp3tag.de/autre31415/32/13360_2.png) [@Autre31415](https://community.mp3tag.de/u/Autre31415)
#### Post date: [February 24, 2023, 2:35am UTC](https://community.mp3tag.de/t/grammartron-or-something-similar-for-macos/60184/1 "2023-02-24T02:35:30Z")

</div>

As a long time user of mp3tag in macOS via windows VMs or more recently crossover I would absolutely love to switch over to the native mac version of the app. The only thing stopping me from transitioning over is my inability to find (or knowhow to convert) one of the good title case scripts (such as grammartron found here: [Case conversion...](https://community.mp3tag.de/t/case-conversion/11684)) over to native mac version, due to the different regex parser.

Any chance this has already been done, or at the very least some documentation that describes the diffs between the windows and mac versions of the regex parser?

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [February 24, 2023, 6:21am UTC](https://community.mp3tag.de/t/grammartron-or-something-similar-for-macos/60184/2 "2023-02-24T06:21:45Z")

</div>

You can find documentation about regular expressions in the Mac documentation:

> [@Quick Actions and Action Groups](https://community.mp3tag.de/t/quick-actions-and-action-groups/51882#replace-with-regular-expression-14):
>
> Mp3tag for Mac provides a variety of Actions, which can be used on filenames and tags. The actions can be applied individually via Actions → Quick Actions ⌥⌘ 6 or be grouped into named and reusable Action Groups via Actions → Actions ⌘ 6. Action Groups serve as repeatable workflows in Mp3tag for Mac. When using Quick Actions you can select one of the different available action types from the list. This action will be applied to the selected files and the changes are saved immediately. Tip 1…

---

<div class="post-metadata">

### Author: ![Autre31415](https://community.mp3tag.de/user_avatar/community.mp3tag.de/autre31415/32/13360_2.png) [@Autre31415](https://community.mp3tag.de/u/Autre31415)
#### Post date: [February 26, 2023, 4:51pm UTC](https://community.mp3tag.de/t/grammartron-or-something-similar-for-macos/60184/3 "2023-02-26T16:51:18Z")

</div>

That documentation indicates that the ICU regex engine is used in macOS, now I would need to know which regex engine is used in Windows so I could determine the diff and translate the script.

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [February 26, 2023, 4:54pm UTC](https://community.mp3tag.de/t/grammartron-or-something-similar-for-macos/60184/4 "2023-02-26T16:54:28Z")

</div>

have you tried to run the actions on the Mac?

---

<div class="post-metadata">

### Author: ![Autre31415](https://community.mp3tag.de/user_avatar/community.mp3tag.de/autre31415/32/13360_2.png) [@Autre31415](https://community.mp3tag.de/u/Autre31415)
#### Post date: [February 26, 2023, 5:28pm UTC](https://community.mp3tag.de/t/grammartron-or-something-similar-for-macos/60184/5 "2023-02-26T17:28:35Z")

</div>

Yeah, the old Grammartron script does nothing on Mac. Unfortunately the regex in the script is fairly complicated and beyond my personal ability to parse.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [February 27, 2023, 3:12pm UTC](https://community.mp3tag.de/t/grammartron-or-something-similar-for-macos/60184/6 "2023-02-27T15:12:11Z")

</div>

From [Mp3tag for Windows Documentation → Regular Expressions](https://docs.mp3tag.de/regex/):

> Mp3tag uses the [Boost.Regex](https://www.boost.org/doc/libs/1_78_0/libs/regex/doc/html/index.html) expression engine which has a Perl regular expression syntax. The [Boost-Extended Format String Syntax](https://www.boost.org/doc/libs/1_78_0/libs/regex/doc/html/boost_regex/format/boost_format_syntax.html) is not enabled in Mp3tag.
