[Question]
  [
I got the spontaneous idea of making a series of challenges of users that have helped and continue to help the PPCG community be an enjoyable place for everyone, or maybe just specifically for me. :P
If you convert Dennis's name to an array of `1`s and `0`s where each consonant is `1` and each vowel is `0`, the array is `[1, 0, 1, 1, 0, 1]`, which is symmetrical. Thus, your challenge is to determine what other names are like this.
# Challenge
Given an ASCII string, remove all characters that aren't letters and determine if the configuration of vowels and consonants are symmetrical. `y` is not a vowel.
Please note that your program does not have to be this type of string itself.
# Test Cases
```
Dennis -> truthy
Martin -> truthy
Martin Ender -> truthy
Alex -> falsy
Alex A. -> truthy
Doorknob -> falsy
Mego -> falsy
```
# Reference Implementation
This Python 3 code will give the correct output given a test case. It is as ungolfed as I could make it without being ridiculous.
# [Python 3](https://docs.python.org/3/)
```
s = input()
l = []
for c in s:
	if c in 'AEIOUaeiou':
		l.append(0)
	elif c in 'BCDFGHJKLMNPQRSTVWXYZbcdfghjklmnpqrstvwxyz':
		l.append(1)
print(l == list(reversed(l)), end = '')
```
[Try it online!](https://tio.run/nexus/python3#VY7JCsIwFEXXzVdklwREdCt0odZ5nidcVPuq0ZjGJK3Dz9eAILg7HA6XmxvsYy5VailDwvFuj@JE46OT2FSQx@Mvk2qjM1qEwJOUOO2JYqgUyIiWGPJA/LJaPWi22t1efzAcT6az@XK13mwPEcSn8@UqblLdtbHZ4/l6/8@UGVKaS0vdCR8LbizVkIE2EFHBWAG7yN0jhOV5AFJy8wE "Python 3 - Try It Online")
  
[Answer]
# [Jelly](https://github.com/DennisMitchell/jelly), 11 bytes
```
ŒufØAe€ØCŒḂ
```
[Try it online!](https://tio.run/##ASUA2v9qZWxsef//xZJ1ZsOYQWXigqzDmEPFkuG4gv///yJEZW5uaXMi "Jelly – Try It Online")
Alternate versions:
```
ŒlfØae€ØCŒḂ
```
 
```
ŒufØAe€ØcŒḂ
```
 
```
ŒlfØae€ØcŒḂ
```
Of course a challenge appreciating Dennis must have an answer in a language of his.
[Answer]
# [05AB1E](https://github.com/Adriandmen/05AB1E), 9 bytes
```
žM¹álSåÂQ
```
[Try it online!](https://tio.run/##MzBNTDJM/f//6D7fQzsPL8wJPrz0cFPg//8uqXl5mcUA "05AB1E – Try It Online")
-2 thanks to [Adnan](https://codegolf.stackexchange.com/users/34388/adnan).
This attacks Jelly's pain point exactly. It uses `l` and `A`, 1-byte equivalents for Jelly's `Œl` and `Øa` respectively.
[Answer]
## x86 32-bit machine-code function, ~~42~~ 41 bytes
Currently the shortest non-golfing-language answer, 1B shorter than [@streetster's q/kdb+](https://codegolf.stackexchange.com/questions/123194/user-appreciation-challenge-1-dennis/123222#123222).
**With 0 for truthy and non-zero for falsy: ~~41~~ 40 bytes.** (in general, saves 1 byte for 32-bit, 2 bytes for 64-bit).
**With implicit-length strings (C-style 0-terminated): ~~45~~ 44 bytes**
**x86-64 machine-code (with 32-bit pointers, like the x32 ABI): ~~44~~ 43 bytes**.
**x86-64 with implicit-length strings, still 46 bytes (the shift/mask bitmap strategy is break-even now).**
This is a function with C signature `_Bool dennis_like(size_t ecx, const char *esi)`. The calling convention is slightly non-standard, close to MS vectorcall/fastcall but with different arg registers: string in ESI and the length in ECX. It only clobbers its arg-regs and EDX. AL holds the return value, with the higher bytes of EAX holding garbage (as allowed by the SysV i386 and x32 ABIs, and the Windows x64 calling convention.)
---
**Explanation of the algorithm**:
Loop over the input string, filtering and classifying into a boolean array on the stack: For each byte, check if it's an alphabetic character (if not, continue to next char), and transform it to an integer from 0-25 (A-Z). Use that 0-25 integer to check a bitmap of vowel=0/consonant=1. (The bitmap is loaded into a register as a 32-bit immediate constant). Push 0 or 0xFF onto the stack according to the bitmap result (actually in the low byte of a 32-bit element, which may have garbage in the top 3 bytes).
The first loop produces an array of 0 or 0xFF (in dword elements padded with garbage). Do the usual palindrome check with a second loop that stops when pointers cross in the middle (or when they both point to the same element if there were an odd number of alphabetic characters). The upward-moving pointer is the stack pointer, and we use POP to load+increment. Instead of compare / setcc in this loop, we can just use XOR to detect same/different since there are only two possible values. We could accumulate (with OR) whether we found any non-matching elements, but an early-out branch on flags set by XOR is at least as good.
Notice that the second loop uses `byte` operand-size, so it doesn't care what garbage the first loop leaves outside the low byte of each array element.
---
It uses the [undocumented `salc` instruction](https://courses.engr.illinois.edu/ece390/archive/spr2002/books/labmanual/inst-ref-salc.html) to set AL from CF, in the same way that `sbb al,al` would. It's supported on every Intel CPU (except in 64-bit mode), even Knight's Landing! [Agner Fog lists timings for it](http://agner.org/optimize/) on all AMD CPUs as well (including Ryzen), so if x86 vendors insist on tying up that byte of opcode space ever since 8086, we might as well take advantage of it.
Interesting tricks:
* [unsigned-compare trick](https://stackoverflow.com/questions/35932273/how-to-access-a-char-array-and-change-lower-case-letters-to-upper-case-and-vice/35936844#35936844) for a combined isalpha() and toupper(), and zero-extends the byte to fill eax, setting up for:
* immediate bitmap in a register for `bt`, [inspired by some nice compiler output for `switch`](https://stackoverflow.com/questions/97987/advantage-of-switch-over-if-else-statement/32356125#32356125).
* Creating a variable-sized array on the stack with push in a loop. (Standard for asm, but not something you can do with C for the implicit-length string version). It uses 4 bytes of stack space for every input character, but saves at least 1 byte vs. optimal golfing around `stosb`.
* Instead of cmp/setne on the boolean array, XOR booleans together to get a truth value directly. (`cmp`/`salc` isn't an option, because `salc` only works for CF, and 0xFF-0 doesn't set CF. `sete` is 3 bytes, but would avoid the `inc` outside the loop, for a net cost of 2 bytes (1 in 64-bit mode)) vs. xor in the loop and fixing it with inc.
```
; explicit-length version: input string in ESI, byte count in ECX
08048060 <dennis_like>:
 8048060:       55                      push   ebp
 8048061:       89 e5                   mov    ebp,esp  ; a stack frame lets us restore esp with LEAVE (1B)
 8048063:       ba ee be ef 03          mov    edx,0x3efbeee ; consonant bitmap
08048068 <dennis_like.filter_loop>:
 8048068:       ac                      lods   al,BYTE PTR ds:[esi]
 8048069:       24 5f                   and    al,0x5f    ; uppercase
 804806b:       2c 41                   sub    al,0x41    ; range-shift to 0..25
 804806d:       3c 19                   cmp    al,0x19    ; reject non-letters
 804806f:       77 05                   ja     8048076 <dennis_like.non_alpha>
 8048071:       0f a3 c2                bt     edx,eax    # AL = 0..25 = position in alphabet
 8048074:       d6                      SALC     ; set AL=0 or 0xFF from carry.  Undocumented insn, but widely supported
 8048075:       50                      push   eax
08048076 <dennis_like.non_alpha>:
 8048076:       e2 f0                   loop   8048068 <dennis_like.filter_loop>   # ecx = remaining string bytes
 ; end of first loop
 8048078:       89 ee                   mov    esi,ebp  ; ebp = one-past-the-top of the bool array
0804807a <dennis_like.palindrome_loop>:
 804807a:       58                      pop    eax      ; read from the bottom
 804807b:       83 ee 04                sub    esi,0x4
 804807e:       32 06                   xor    al,BYTE PTR [esi]
 8048080:       75 04                   jne    8048086 <dennis_like.non_palindrome>
 8048082:       39 e6                   cmp    esi,esp             ; until the pointers meet or cross in the middle
 8048084:       77 f4                   ja     804807a  <dennis_like.palindrome_loop>
08048086 <dennis_like.non_palindrome>:
 ; jump or fall-through to here with al holding an inverted boolean
 8048086:       40                      inc    eax
 8048087:       c9                      leave  
 8048088:       c3                      ret    
;; 0x89 - 0x60 = 41 bytes
```
This is probably also one of the fastest answers, since none of the golfing really hurts too badly, at least for strings under a few thousand characters where the 4x memory usage doesn't cause a lot of cache-misses. (It might also lose to answers that take an early-out for non-Dennis-like strings before looping over all the characters.) `salc` is slower than `setcc` on many CPUs (e.g. 3 uops vs. 1 on Skylake), but a bitmap check with `bt/salc` is still faster than a string-search or regex-match. And there's no startup overhead, so it's extremely cheap for short strings.
Doing it in one pass on the fly would mean repeating the classification code for the up and down directions. That would be faster but larger code-size. (Of course if you want fast, you can do 16 or 32 chars at a time with SSE2 or AVX2, still using the compare trick by range-shifting to the bottom of the signed range).
---
**Test program (for ia32 or x32 Linux)** to call this function with a cmdline arg, and exit with status = return value. `strlen` implementation from [int80h.org](http://www.int80h.org/strlen/).
```
; build with the same %define macros as the source below (so this uses 32-bit regs in 32-bit mode)
global _start
_start:
    ;%define PTRSIZE 4   ; true for x32 and 32-bit mode.
    mov  esi, [rsp+4 + 4*1]  ; esi = argv[1]
    ;mov  rsi, [rsp+8 + 8*1]  ; rsi = argv[1]   ; For regular x86-64 (not x32)
%if IMPLICIT_LENGTH == 0
        ; strlen(esi)
         mov     rdi, rsi
         mov     rcx, -1
        xor     eax, eax
        repne scasb    ; rcx = -strlen - 2
        not     rcx
        dec     rcx
%endif
    mov  eax, 0xFFFFAEBB   ; make sure the function works with garbage in EAX
    call dennis_like
    ;; use the 32-bit ABI _exit syscall, even in x32 code for simplicity
    mov ebx, eax
    mov eax, 1
    int 0x80           ; _exit( dennis_like(argv[1]) )
    ;; movzx edi, al   ; actually mov edi,eax is fine here, too
    ;; mov eax,231     ; 64-bit ABI exit_group( same thing )
    ;; syscall
```
---
A 64-bit version of this function could use `sbb eax,eax`, which is only 2 bytes instead of 3 for `setc al`. It would also need an extra byte for `dec` or `not` at the end (because only 32-bit has 1-byte inc/dec r32). Using the x32 ABI (32-bit pointers in long mode), we can still avoid REX prefixes even though we copy and compare pointers.
`setc [rdi]` can write directly to memory, but reserving ECX bytes of stack space costs more code-size than that saves. (And we need to move through the output array. `[rdi+rcx]` takes one extra byte for the addressing mode, but really we need a counter that doesn't update for filtered characters so it's going to be worse than that.)
---
**This is the YASM/NASM source with `%if` conditionals. It can be built with `-felf32` (32-bit code) or `-felfx32` (64-bit code with the x32 ABI), and with implicit or explicit length**. I've tested all 4 versions. See [this answer](https://stackoverflow.com/a/36901649/224132) for a script to build a static binary from NASM/YASM source.
To test the 64-bit version on a machine without support for the x32 ABI, you can change the pointer regs to 64-bit. (Then simply subtract the number of REX.W=1 prefixes (0x48 bytes) from the count. In this case, 4 instructions need REX prefixes to operate on 64-bit regs). Or simply call it with the `rsp` and the input pointer in the low 4G of address space.
```
%define IMPLICIT_LENGTH 0
; This source can be built as x32, or as plain old 32-bit mode
; x32 needs to push 64-bit regs, and using them in addressing modes avoids address-size prefixes
; 32-bit code needs to use the 32-bit names everywhere
;%if __BITS__ != 32   ; NASM-only
%ifidn __OUTPUT_FORMAT__, elfx32
%define CPUMODE 64
%define STACKWIDTH 8    ; push / pop 8 bytes
%else
%define CPUMODE 32
%define STACKWIDTH 4    ; push / pop 4 bytes
%define rax eax
%define rcx ecx
%define rsi esi
%define rdi edi
%define rbp ebp
%define rsp esp
%endif
    ; A regular x86-64 version needs 4 REX prefixes to handle 64-bit pointers
    ; I haven't cluttered the source with that, but I guess stuff like %define ebp rbp  would do the trick.
    ;; Calling convention similar to SysV x32, or to MS vectorcall, but with different arg regs
    ;; _Bool dennis_like_implicit(const char *esi)
    ;; _Bool dennis_like_explicit(size_t ecx, const char *esi)
global dennis_like
dennis_like:
    ; We want to restore esp later, so make a stack frame for LEAVE
    push  rbp
    mov   ebp, esp   ; enter 0,0 is 4 bytes.  Only saves bytes if we had a fixed-size allocation to do.
    ;         ZYXWVUTSRQPONMLKJIHGFEDCBA
    mov  edx, 11111011111011111011101110b   ; consonant/vowel bitmap for use with bt
;;; assume that len >= 1
%if IMPLICIT_LENGTH
    lodsb   ; pipelining the loop is 1B shorter than  jmp .non_alpha
.filter_loop:
%else
.filter_loop:
    lodsb
%endif
    and   al, 0x7F ^ 0x20  ; force ASCII to uppercase.
    sub   al, 'A'          ; range-shift to 'A' = 0
    cmp   al, 'Z'-'A'      ; if al was less than 'A', it will be a large unsigned number
    ja  .non_alpha
    ;; AL = position in alphabet (0-25)
    bt    edx, eax              ; 3B
%if CPUMODE == 32
    salc                        ; 1B   only sets AL = 0 or 0xFF.  Not available in 64-bit mode
%else
    sbb   eax, eax              ; 2B   eax = 0 or -1, according to CF.
%endif
    push  rax
.non_alpha:
%if IMPLICIT_LENGTH
    lodsb
    test   al,al
    jnz .filter_loop
%else
    loop .filter_loop
%endif
    ; al = potentially garbage if the last char was non-alpha
    ; esp = bottom of bool array
    mov   esi, ebp  ; ebp = one-past-the-top of the bool array
.palindrome_loop:
    pop   rax
    sub   esi, STACKWIDTH
    xor   al, [rsi]   ; al = (arr[up] != arr[--down]).  8-bit operand-size so flags are set from the non-garbage
    jnz .non_palindrome
    cmp   esi, esp
    ja .palindrome_loop
.non_palindrome:  ; we jump here with al=1 if we found a difference, or drop out of the loop with al=0 for no diff
    inc   eax     ;; AL transforms 0 -> 1  or  0xFF -> 0.
    leave
    ret           ; return value in AL.  high bytes of EAX are allowed to contain garbage.
```
I looked at messing around with DF (the direction flag that controls `lodsd` / `scasd` and so on), but it just didn't seem to be a win. The usual ABIs require that DF is cleared on function entry and exit. Assuming cleared on entry but leaving it set on exit would be cheating, IMO. It would be nice to use LODSD / SCASD to avoid the 3-byte `sub esi, 4`, especially in the case where there's no high-garbage.
---
### Alternate bitmap strategy (for x86-64 implicit-length strings)
It turns out this doesn't save any bytes, because `bt r32,r32` still works with high garbage in the bit-index. It's just not documented the way `shr` is.
Instead of `bt / sbb` to get the bit into / out of CF, use a shift / mask to isolate the bit we want from the bitmap.
```
%if IMPLICIT_LENGTH && CPUMODE == 64
    ; incompatible with LOOP for explicit-length, both need ECX.  In that case, bt/sbb is best
    xchg  eax, ecx
    mov   eax, 11111011111011111011101110b   ; not hoisted out of the loop
    shr   eax, cl
    and   al, 1
%else
    bt    edx, eax
    sbb   eax, eax
%endif
    push  rax
```
Since this produces 0/1 in AL at the end (instead of 0/0xFF), we can do the necessary inversion of the return value at the end of the function with `xor al, 1` (2B) instead of `dec eax` (also 2B in x86-64) to still produce a proper [`bool` / `_Bool`](http://en.cppreference.com/w/c/language/arithmetic_types#Boolean_type) return value.
This used to save 1B for x86-64 with implicit-length strings, by avoiding the need to zero the high bytes of EAX. (I had been using `and eax, 0x7F ^ 0x20` to force to upper-case and zero the rest of eax with a 3-byte `and r32,imm8`. But now I'm using the 2-byte immediate-with-AL encoding that most 8086 instructions have, like I was already doing for the `sub` and `cmp`.)
It loses to `bt`/`salc` in 32-bit mode, and explicit-length strings need ECX for the count so this doesn't work there either.
But then I realized that I was wrong: `bt edx, eax` still works with high garbage in eax. It masks the shift count [the same way `shr r32, cl` does](http://felixcloutier.com/x86/SAL:SAR:SHL:SHR.html) (looking only at the low 5 bits of cl). This is different from `bt [mem], reg`, which can access outside the memory referenced by the addressing-mode/size, treating it as a bitstring. (Crazy CISC...)
Intel's insn set ref [manual entry for `bt`](https://www.felixcloutier.com/x86/bt) does document the masking in the description section: *If the bit base operand specifies a register, the instruction takes the modulo 16, 32, or 64 of the bit offset operand (modulo size depends on the mode and register size).* Apparently I missed it when writing this answer originally; I checked a Jan 2015 version of the PDF and it was already there.
A neat trick here is using `xchg eax,ecx` (1 byte) to get the count into CL. Unfortunately, BMI2 `shrx eax, edx, eax` is 5 bytes, vs. only 2 bytes for `shr eax, cl`. Using `bextr` needs a 2-byte `mov ah,1` (for the number of bits to extract), so it's again 5 + 2 bytes like SHRX + AND.
---
The source code has gotten pretty messy after adding `%if` conditionals. **Here's disassembly of x32 implicit-length strings** (using the alternate strategy for the bitmap, so it's still 46 bytes).
The main difference from the explicit-length version is in the first loop. Notice how there's a `lods` before it, and at the bottom, instead of just one at the top of the loop.
```
    ; 64-bit implicit-length version using the alternate bitmap strategy
    00400060 <dennis_like>:
      400060:       55                      push   rbp
      400061:       89 e5                   mov    ebp,esp
      400063:       ac                      lods   al,BYTE PTR ds:[rsi]
    
    00400064 <dennis_like.filter_loop>:
      400064:       24 5f                   and    al,0x5f
      400066:       2c 41                   sub    al,0x41
      400068:       3c 19                   cmp    al,0x19
      40006a:       77 0b                   ja     400077 <dennis_like.non_alpha>
      40006c:       91                      xchg   ecx,eax
      40006d:       b8 ee be ef 03          mov    eax,0x3efbeee  ; inside the loop since SHR destroys it
      400072:       d3 e8                   shr    eax,cl
      400074:       24 01                   and    al,0x1
      400076:       50                      push   rax
    00400077 <dennis_like.non_alpha>:
      400077:       ac                      lods   al,BYTE PTR ds:[rsi]
      400078:       84 c0                   test   al,al
      40007a:       75 e8                   jne    400064 <dennis_like.filter_loop>
      40007c:       89 ee                   mov    esi,ebp
    0040007e <dennis_like.palindrome_loop>:
      40007e:       58                      pop    rax
      40007f:       83 ee 08                sub    esi,0x8
      400082:       32 06                   xor    al,BYTE PTR [rsi]
      400084:       75 04                   jne    40008a <dennis_like.non_palindrome>
      400086:       39 e6                   cmp    esi,esp
      400088:       77 f4                   ja     40007e <dennis_like.palindrome_loop>
    
    0040008a <dennis_like.non_palindrome>:
      40008a:       ff c8                   dec    eax  ; invert the 0 / non-zero status of AL.  xor al,1 works too, and produces a proper bool.
      40008c:       c9                      leave  
      40008d:       c3                      ret    
   0x8e - 0x60 = 0x2e = 46 bytes
```
Update: instead of using 32-bit pointers, I could have used `push rsp` / `pop rbp` to copy a 64-bit register in 2 bytes of code. ([Tips for golfing in x86/x64 machine code](https://codegolf.stackexchange.com/questions/132981/tips-for-golfing-in-x86-x64-machine-code/190636#190636)). But `sub rsi,0x8` and `cmp rsi,rsp` would need REX prefixes which I'm avoiding here by using 32-bit pointers. Perhaps comparing the low 32 could work if the stack doesn't cross a 4GiB boundary, so just the `sub`.
I wonder if `pop rdx` / `std` / `lodsq` / `cld` / `xor al, dl` could work? No, that's 7 bytes, break-even with just using `sub rsi, 8` in the loop body.
[Answer]
# [Retina](https://github.com/m-ender/retina), ~~49 47~~ 45 bytes
```
\P{L}
i`[aeiou]
1
\D
2
+`^(.)(.*)\1$
$2
^.?$
```
[Try it online!](https://tio.run/##LcxZd8FAGIDh@@9XpAQJ7ZBo6WYJsYutOxEJBmOZYVBa1b8ePU5v3ufu5XhDqOP6pILtmo1D9QhA7I6DCdt2QQFTBxVCtiUhWUJB2VREEFWwUEp0XR1TStZgOPxv8Y@Qo0PMQZvj/TmChkBnjM8o64OBxwyEC49X9PkDkhwMXV6hcERRo9c3sfjt3f3DYyKZSmuZrJ7LF4qlcqVq1OqNZuvp@eX17f2j3TG7Vs92@oMhHo0nZDqbLyhbrvh6s/3c7b@@Dz/H3xM "Retina – Try It Online")
Saved 2 bytes thanks to Neil.
Saved another 2 bytes thanks to Martin.
Removes non-letters then replaces vowels with 1 and consonants with 2, to get consistent values. Then repeatedly removes the first and last character if they are the same. Once they aren't, the word was symmetric if there are one or zero characters remaining.
[Answer]
# PHP, 82 Bytes
```
<?=strrev($s=preg_replace(["#[^a-z]#i","#[aeiou]#i","#\pL#"],["",0,1],$argn))==$s;
```
[Try it online!](https://tio.run/nexus/php#s7EvyCjgUkksSs@zVfJNLCrJzFNwzUtJLVKy5rK3@29jb1tcUlSUWqahUmxbUJSaHl@UWpCTmJyqEa2kHB2XqFsVq5yppANkJ6Zm5pdCOTEFPspKsTrRSko6BjqGsTpg4zU1bW1Viq3//wcA "PHP – TIO Nexus")
[Answer]
# MATL, 14 bytes
```
t3Y2m)13Y2mtP=
```
Try it at [MATL Online](https://matl.io/?code=t3Y2m%2913Y2mtP%3D&inputs=%27Martin+Ender%27&version=20.0.0).
[Here](https://matl.io/?code=%60i%0A++++t3Y2m%2913Y2mtP%3D%0A%3F%27TRUE%27D%7D%27FALSE%27D%5DT&inputs=%27Dennis%27%0A%27Martin%27%0A%27Martin+Ender%27%0A%27Alex%27%0A%27Alex+A.%27%0A%27Doorknob%27%0A%27Mego%27&version=20.0.0) is a slightly modified version to check all test cases.
**Explanation**
```
        % Implicitly grab the input as a string
        %     STACK: {'Martin Ender'}
t       % Duplicate the input
        %     STACK: {'Martin Ender', 'Martin Ender'}
3Y2     % Push the string 'ABC...XYZabc...xyz'
        %     STACK: {'Martin Ender', 'Martin Ender', 'ABC...XYZabc...xyz'}
m       % Find which characters of the input are letters using this string
        %     STACK: {'Martin Ender', [1 1 1 1 1 1 0 1 1 1 1]}
)       % Use this boolean array to select only the letters
        %     STACK: {'MartinEnder'}
13Y2    % Push the string literal 'aeiouAEIOU' to the stack
        %     STACK: {'MartinEnder', 'aeiouAEIOU'}
m       % Check for membership of each letter of the input in this string.
        %     STACK: {[0 1 0 0 1 0 1 0 0 1 0]}
tP      % Create a reversed copy
        %     STACK: {[0 1 0 0 1 0 1 0 0 1 0], [0 1 0 0 1 0 1 0 0 1 0]}
=       % Perform an element-wise comparison yielding a truthy (all 1's) or 
        % falsey (any 0's) result
        %     STACK: {[1 1 1 1 1 1 1 1 1 1 1]}
        % Implicitly display the result
```
[Answer]
# Haskell, 84 75 74 69 bytes
-10 thanks to @nimi  
-5 thanks to @Zgarb
```
f x=(==)<*>reverse$[elem c"aeiouAEIOU"|c<-x,'@'<c,c<'{','`'<c||c<'[']
```
The list comprehension replaces each letter with a boolean and removes all other characters. The first part checks whether or not the resulting list is a palindrome.
[Try it online!](https://tio.run/nexus/haskell#@5@mUGGrYWuraaNlV5RallpUnKoSnZqTmquQrJSYmplf6ujq6R@qVJNso1uho@6gbpOsk2yjXq2uo54AZNcAxdWj1WO5uHITM/MUbBVS8rkUFAqKMvNKFDTSFJQyUnNy8pU0UcRS8tPRRBJNTCz0rPXTdQ0sLcxLUtFkDU3QBAwsE4Em/P8PAA "Haskell – TIO Nexus")
[Answer]
# Pyth, ~~18~~ 15 bytes
```
_I/L"aeiou"@Gr0
```
[Try it here.](http://pyth.herokuapp.com/?code=_I%2FL%22aeiou%22%40Gr0&test_suite=1&test_suite_input=%22Dennis%22%0A%22Martin%22%0A%22Martin+Ender%22%0A%22Alex%22%0A%22Alex+A.%22%0A%22Doorknob%22%0A%22Mego%22&debug=0)
-2 thanks to [KarlKastor](https://codegolf.stackexchange.com/users/56557/karlkastor), and subsequently -1.
[Answer]
# [Brachylog](https://github.com/JCumin/Brachylog), 13 bytes
```
ḷ{∈Ṿg|∈Ḅg}ˢ.↔
```
[Try it online!](https://tio.run/nexus/brachylog2#@/9wx/bqRx0dD3fuS68B0Tta0mtPL9J71Dbl/38lx5zUCgVHPaX/AA "Brachylog – TIO Nexus")
### Explanation
```
ḷ                Lowercase the input
 {       }ˢ.     Select each char if:
  ∈Ṿg              it's a vowel, and replace it with ["aeiou"]            
     |             Or
      ∈Ḅg          it's a consonant, and replace it with ["bcdfghjklkmnpqrstvwxyz"]
           .↔    The resulting list is a palindrome
```
[Answer]
# [Alice](https://github.com/m-ender/alice), 28 bytes
```
/uia.QN."-e@
\1"lyuy.Ra$i1/o
```
[Try it online!](https://tio.run/##S8zJTE79/1@/NDNRL9BPT0k31YErxlApp7K0Ui8oUSXTUD///3@X1Ly8zGIA "Alice – Try It Online")
Outputs `1` as truthy and nothing as falsy.
### Explanation
Every command in this program executes in ordinal mode, but with a slight twist in the template that allows me to save a byte. If a newline is an acceptable truthy value, I can save one more byte by the same method.
Linearized, the program is as follows:
```
1il.uN."aei ou"ayQy.R-$@1o1@
1                           % Append "1" to top of stack
                            % STACK: ["1"]
 i                          % Push input to stack
                            % STACK: ["1", "Dennis"]
  l                         % Convert to lowercase
                            % STACK: ["1", "dennis"]
   .                        % Duplicate
                            % STACK: ["1", "dennis", "dennis"]
    u                       % Convert to uppercase
                            % STACK: ["1", "dennis", "DENNIS"]
     N                      % Take multiset difference; this removes all non-alphabetic characters
                            % STACK: ["1", "dennis"]
      .                     % Duplicate
                            % STACK: ["1", "dennis", "dennis"]
       "aei ou"             % Push "aei ou"
                            % STACK: ["1", "dennis", "dennis", "aei ou"]
              a             % Push newline
                            % STACK: ["1", "dennis", "dennis", "aeiou", "\n"]
               y            % Transliterate: replace all vowels with newlines
                            % STACK: ["1", "dennis", "d\nnn\ns"]
                Q           % Reverse stack
                            % STACK: ["d\nnn\ns", "dennis", "1"]
                 y          % Transliterate: replace remaining characters with "1"
                            % STACK: ["1\n11\n1"]
                  .         % Duplicate
                            % STACK: ["1\n11\n1", "1\n11\n1"]
                   R        % Reverse top of stack
                            % STACK: ["1\n11\n1", "1\n11\n1"]
                    -       % Remove occurrences: for same-length strings, result is "" iff strings are equal.
                            % STACK: [""]
                     $      % Pop stack, and skip next command if ""
                      @     % Terminate (skipped if c/v pattern is palindromic)
                       1o   % Output "1"
                         1  % Push "1" (useless)
                          @ % Terminate
```
[Answer]
# [Python 3](https://docs.python.org/3/), ~~72~~ 71 bytes
-1 byte thanks to @ovs
```
def f(s):s=[c in'AEIOU'for c in s.upper()if'@'<c<'['];return s==s[::-1]
```
[Try it online!](https://tio.run/nexus/python3#@5@SmqaQplGsaVVsG52skJmn7ujq6R@qnpZfpADiKhTrlRYUpBZpaGamqTuo2yTbqEerx1oXpZaUFgElbW2Lo62sdA1j//8HAA "Python 3 – TIO Nexus")
[Answer]
## JavaScript (ES6), ~~72~~ 69 bytes
*Saved 3 bytes thanks to Neil*
Returns a boolean.
```
s=>(a=s.match(/[a-z]/gi).map(c=>!/[aeiou]/i.exec(c)))+''==a.reverse()
```
### Test cases
```
let f =
s=>(a=s.match(/[a-z]/gi).map(c=>!/[aeiou]/i.exec(c)))+''==a.reverse()
console.log(f("Dennis"))        // -> truthy
console.log(f("Martin"))        // -> truthy
console.log(f("Martin Ender"))  // -> truthy
console.log(f("Alex"))          // -> falsy
console.log(f("Alex A."))       // -> truthy
console.log(f("Doorknob"))      // -> falsy
console.log(f("Mego"))          // -> falsy
```
[Answer]
# Braingolf, ~~4~~ 3 bytes
```
&JP
```
*-1 byte thanks to Erik the Outgolfer*
Turns out I had `P` all along, even before this challenge.
~~`J` however, despite being created before this challenge, wasn't pushed to github before the challenge, thus is still non-competing.~~
### Explanation:
```
&JP  Implicit input, push ASCII value of each char in string to stack
&J   Replace each item in stack with 1 if vowel, otherwise 0
  P  Pop entire stack, push 1 if stack is palindromic, 0 otherwise
     Implicit output of last item on stack
```
[Answer]
# [Vyxal](https://github.com/Vyxal/Vyxal), 4 bytes
```
ǍAḂ⁼
```
[Try it Online!](https://vyxal.pythonanywhere.com/#WyIiLCIiLCLHjUHhuILigbwiLCIiLCJEZW5uaXMiXQ==)
```
Ǎ    # Non-alphabet chars removed
 A   # Vowel mask (1 for vowel, 0 for not)
  Ḃ⁼ # Is equal to its reverse?
```
# [Vyxal 2.4.1](https://github.com/Vyxal/Vyxal/releases/tag/v2.4.1), 7 bytes
```
Ǎk∨vcḂ⁼
```
[Try it Online!](https://lyxal.pythonanywhere.com?flags=&code=%C7%8Dk%E2%88%A8vc%E1%B8%82%E2%81%BC&inputs=eoiurhejweiei&header=&footer=)
-6 thanks to lyxal  
-1 thanks to Underslash
[Answer]
# [Python 3](https://docs.python.org/3/), ~~92~~ ~~87~~ ~~74~~ ~~72~~ ~~69~~ 68 bytes
```
l=[c in'aeouiAEOUI'for c in input()if c.isalpha()]
print(l==l[::-1])
```
[Try it online!](https://tio.run/##K6gsycjPM/7/P8c2OlkhM089MTW/NNPR1T/UUz0tv0gBJAZEBaUlGpqZaQrJepnFiTkFGYkamrFcBUWZeSUaOba2OdFWVrqGsZr//7uk5uVlFgMA "Python 3 – Try It Online")
[Answer]
# Mathematica, 113 bytes
```
PalindromeQ@StringCases[StringReplace[#,{Characters["aeiouAEIOU"]->"1",CharacterRange["A","z"]->"0"}],{"0","1"}]&
```
[Answer]
# [GolfScript](http://www.golfscript.com/golfscript/), 42 bytes
```
{123,65>.26>6<-?)},{"AEIOUaeiou"?)!}%.-1%=
```
[Try it online!](https://tio.run/##S8/PSStOLsosKPn/v9rQyFjHzNROz8jMzsxG116zVqdaydHV0z80MTUzv1TJXlOxVlVP11DV9v9/x5zUCgVHPQA "GolfScript – Try It Online")
The hard part is generating both the uppercase and lowercase alphabet in one string, which we'll use in a filter function to filter the letters out of the input. Luckily, since strings in GolfScript are just codepoint arrays with a special property, so we can just generate the codepoints in an efficient way. Here's how we generate them:
First, we generate range [0..122], 122 being the codepoint for `z`. Then, we take the elements from the element at index 65 onwards. 65 is the codepoint for `A`. Right now, we have [65..122]. All fine, except we have some unwanted codepoints ([91..96]) in there. So, we first make a duplicate of that range. Then, we take the elements from index 26 onwards, and we have [91..122]. After that, we get the elements up to and including index 5. Now we have [91..96]. Finally, we remove those elements from our [65..122], leaving us wil [65..90, 97..122]. Those are the codepoints we want.
Now that we made the upper/lower alphabet codepoint list, we continue our filtering function. The function gets mapped to each character on the input string, which, as I initially said, gets parsed as its codepoint instead. So now we essentially have `[codepoint, [65..90, 97..122]]`. To find out if char `codepoint` is a letter, we simply take its index in the list we made. If it isn't there, we'll get `-1` as the index instead.
Right now, we get a falsey value only if `codepoint == 65`, i.e. the first index of our list, since only then would the index be 0. But a single increment will fix this problem, and, now, if `codepoint` is in our list, we'll get its index + 1, which is always a positive number, thus always truthy, while if it's not there we'll get -1 + 1 = 0, i.e. falsey.
We finally apply the function I described to every char of the input, and we only take the chars for which the function returned a truthy result.
Next up we have to determine if each char is a vowel or consonant. Since the vowels are fewer than the consonants, creating a string of vowels so that we check for that condition is shorter than creating a string of consonants, so we check if each char is a vowel. But, to check if the boolean list is palindromic, we need booleans, which we don't get just by taking the index + 1, since that can result in any number of [1..10] if the char is a vowel. And, as most golfing languages, this one, doesn't have a `bool` function either. So, we simply use `not not x`, since `not` always returns a boolean. But wait; do we really need to have specific booleans? Since `not` always returns a boolean, why don't we just remove the second `not`, and actually check if each char is a consonant? Yeah, that's exactly what we'll do!
After the check, which returns a list of booleans, we check if this boolean list we got is a palindrome, which is what this challenge asks us to do. Well, what is the definition of a palindrome? Yes, a palindrome is a list or string which is equal to its reverse. So, how do we check? Simple, we duplicate it, take its reverse, and check against the original list. The result we get is, *finally*, what our code should return.
[Answer]
# [PHP](https://php.net/), 87 bytes
Regex free PHP version. Added a "vowel" since stripos can return 0 which is false in PHP.
Flaw fixed by Jörg.
```
for(;a&$c=$argn[$p++];)!ctype_alpha($c)?:$s.=stripos(_aeiou,$c)?0:1;echo$s==strrev($s);
```
[Try it online!](https://tio.run/nexus/php#HclRCoMwDADQ/91CCdLiGO7XrHgCTyBDQqlrYdiQdANP3@F@33tMHPkCJK/dtTNJSXuLdctikDrw7j8LcN8/0Ta@HBxWenMkA95OI@jNaZHEWc1KIeXP9fRhvGPwMYO6syV8DajFWn8 "PHP – TIO Nexus")
[Answer]
# q/kdb+, ~~42~~ 38 bytes
**Solution:**
```
{x~|:[x]}{inter[x;.Q.a]in"aeiou"}lower
```
**Example:**
```
q){x~|:[x]}{inter[x;.Q.a]in"aeiou"}lower"Dennis"
1b
q){x~|:[x]}{inter[x;.Q.a]in"aeiou"}lower"Adam"
0b
q){x~|:[x]}{inter[x;.Q.a]in"aeiou"}lower"Alex A."
1b
```
**Explanation:**
```
lower        // converts argument on the right to lowercase
.Q.a         // lowercase alphabet "abc..xyz"
inter[x;y]   // intersection of x and y (thus only return a-z)
x in "aeiou" // returns boolean list whether x is a vowel; "dennis" = 010010b
|:           // k shorthand for 'reverse'
```
**Edits:**
* -4 bytes; switching out `reverse` for k equivalent `|:`
[Answer]
# [CJam](https://sourceforge.net/p/cjam), 26 bytes
```
lel_'{,97>--"aeiou"fe=_W%=
```
[Try it online!](https://tio.run/##S85KzP3/Pyc1J169WsfS3E5XVykxNTO/VCkt1TY@XNX2/3/HnNQKBUc9AA "CJam – Try It Online")
-1 thanks to [Esolanging Fruit](https://codegolf.stackexchange.com/users/61384/esolanging-fruit).
[Answer]
# [Stax](https://github.com/tomtheisen/stax), 18 [bytes](https://github.com/tomtheisen/stax/blob/master/docs/packed.md#packed-stax)
```
⌠╟%╜«¥│▒g♦°pC₧╤WsV
```
[Run and debug it](https://staxlang.xyz/#c=%5E%22%5B%5EA-Z%5D%22zR%7BVVI0%3CFLcr%3D&i=Dennis%0AMartin%0AMartin+Ender%0AAlex%0AAlex+A.%0ADoorknob%0AMego&m=2)
## Explanation
```
^"[^A-Z]"zR{VVI0<FLcr=
^                      capitalize input
 "[^A-Z]"zR            remove all non alphabet characters
           {     F     loop over modified string
            VV         "AEIOU"
              I        Index of character (-1 if not present)
               0<      less than 0
                       push the result to stack
                  L    wrap the stack in an array
                   c   duplicate it
                    r  reverse it
                     = are they equal?
```
[Answer]
# Python 2, 83 bytes
```
def f(x):k=map(lambda y:y.lower()in"aeiou",filter(str.isalpha,x));return k==k[::-1]
```
Defines a function that either gives `True` or `False`
[Answer]
# [CJam](https://sourceforge.net/p/cjam), 79 bytes
First-timer! (I did what I could)
```
r{:X"AEIOUaeiou"#W>{X"BCDFGHJKLMNPQRSTVWXYZbdfghjklmnpqrstvwxyz"#W={'0}&}'1?~}%
```
[Try it online!](https://tio.run/nexus/cjam#@19UbRWh5Ojq6R@amJqZX6qkHG5XHaHk5Ozi5u7h5e3j6xcQGBQcEhYeERmVlJKWnpGVnZObV1BYVFxSVl5RWQVUb1utblCrVqtuaF9Xq/r/v0tqXl5mMQA "CJam – TIO Nexus")
[Answer]
# Ruby, 57 bytes
```
->s{x=s.scan(/\p{L}/).map{|c|c=~/[aeiou]/i};x==x.reverse}
```
[Try it online!](https://tio.run/nexus/ruby#S7P9r2tXXF1hW6xXnJyYp6EfU1DtU6uvqZebWFBdk1yTbFunH52YmplfGqufWWtdYWtboVeUWpZaVJxa@79AIS1aySU1Ly@zWCmWC8zzTSwqycxD5Sm45qWkFsHEHHNSK5DZCo56MK5Lfn5Rdl5@Elx7anq@Uux/AA "Ruby – TIO Nexus")
[Answer]
# [Bash](https://www.gnu.org/software/bash/), 82 bytes
```
i=${1//[^a-zA-Z]};a=aeouiAEOUI;b=${i//[$a]/0};c=${b//[!0$a]/1};[ $c = `rev<<<$c` ]
```
[Try it online!](https://tio.run/nexus/bash#LY27DoJAEEV7v@JKNnYIti7EkEBhQaxsJBgWGHWj2UnWR3zx7bgSmjv3nElmDmyhoQ1SMkZfkSt7c@SNMzMtWQ/JhZ7whkzmHlJmezZcI6cjQ6LlCTUnhm8g9FL2OhYfHQTFXvnvxN@VnVSxIr7rJNts17Ie10KVQdjJxmHtcBr@xaKTBUSDGJWlRxRFoqlQ9s6t3H1CiHI2G76Z7xdDeclJy4b6Hw "Bash – TIO Nexus")
Recives name as parameter, removes non-leters, replaces vowels with 0, non-vowels nor 0 with 1 and compares with same reversed.
Could golf some more if can get to work [double or triple substitution](https://unix.stackexchange.com/questions/68042/double-and-triple-substitution-in-bash-and-zsh)
Exit status is 0 for true and 1 for no.
[Answer]
## Perl, 42 bytes
```
s!(.)\PL*!1+aeiou=~lc$1!ge;$_=$_==reverse
```
Run with `perl -p`.
[Answer]
# [Japt](https://github.com/ETHproductions/japt) v2.0a0, ~~19~~ 11 bytes
```
k\L mè\v ê¬
```
[Try it online](https://ethproductions.github.io/japt/?v=2.0a0&code=a1xMIG3oXHYg6qw=&input=IkRlbm5pcyI=)
---
## Explanation
```
        :Implicit input of string U.
 k\L    :Remove all non-letter characters from U.
 m      :Map over resulting string, replacing each character ...
 è\v    :with the count of the number of vowels in each single character substring.
 ê¬     :Is the above a palindrome?
        :Implicit output of boolean result.
```
[Answer]
# 64-bit machine code, 89 bytes.
A function of following signature: `eax = f(char * edi)`
```
48 89 F8 48 89 FE 41 B8 22 82 20 00 8A 0E 84 C9
74 23 89 CA 83 E2 DF 0F BE D2 83 EA 41 83 FA 19
77 0E 44 89 C2 48 FF C0 D3 FA 83 E2 01 88 50 FF
48 FF C6 EB D7 C6 00 02 48 FF C7 48 FF C8 8A 17
40 8A 30 40 38 77 FF 75 05 80 FA 02 75 EA 31 C0
80 FA 02 0F 94 C0 C3
```
Assembled using NASM, from such assembly code:
```
; edi => input string.
; eax <= 1 or 0.
; notes:
; the string needs to be null terminated and located in a
; writable memory location, as it will be mutated.
BITS 64
DENNIS: MOV RAX, RDI
        MOV RSI, RDI
        MOV R8D, 0x208222
.CTOR:  MOV CL, BYTE [RSI]
        TEST CL, CL
        JE .SP
        MOV EDX, ECX
        AND EDX, -33
        MOVSX EDX, DL
        SUB EDX, 65
        CMP EDX, 25
        JA .LI
        MOV EDX, R8D
        INC RAX
        SAR EDX, CL
        AND EDX, 1
        MOV BYTE [RAX-1], DL
.LI:    INC RSI
        JMP .CTOR
.SP:    MOV BYTE [RAX], 2
.EQL:   INC RDI
        DEC RAX
        MOV DL, BYTE [RDI]
        MOV SIL, BYTE [RAX]
        CMP BYTE [RDI-1], SIL
        JNE .EQE
        CMP DL, 2
        JNE .EQL
.EQE:   XOR EAX, EAX
        CMP DL, 2
        SETE AL
        RET
```
Not a killer, not even close, but it has a couple of advantages over the 41-byte answer:
* Requires no memory (not even stack).
* Doesn't require to check the length of a string - it uses null-termination instead.
* Doesn't use undocumented CPU instructions.
Just my $0.02 :).
[Answer]
# [APL (Dyalog Unicode)](https://www.dyalog.com/), ~~34~~ ~~33~~ 24 bytes
Saved bytes thanks to [Adám](https://codegolf.stackexchange.com/users/43319)
```
≡∘⌽⍨'AEIOU'∊⍨⎕a∩⍨819⌶⍨∘1
```
[Try it online!](https://tio.run/##SyzI0U2pTMzJT///3/FR24RHnQsfdcx41LP3Ue8KdUdXT/9Q9UcdXUDOo76piY86VgJZFoaWj3q2gYQ6ZhgCdR1aoe6SmpeXWayuoO6bWFSSmQdnKLjmpaQWAbmOOakVUErBUQ/IcsnPL8rOy08CKU1Nz1cHAA "APL (Dyalog Unicode) – Try It Online")
`819⌶⍨∘1` uppercase argument
`⎕a∩⍨` intersection with uppercase alphabet
`'AEIOU'∊⍨` belongs-to-`'AEIOU'`? resulting in a boolean vector
`≡∘⌽⍨` reversed equivalent to self?
[Answer]
# [C (gcc)](https://gcc.gnu.org/), 130 bytes
```
d(a,l)char*a,*l;{char*y=alloca(*l),*z=y;for(*l=1;*a;a++)if(isalpha(*a))*y++=!strchr("aeiou",*a|32);for(a=y-z;a--;*l*=*z++==*--y);}
```
[Try it online!](https://tio.run/##ZY/BTsMwEETPzVcYS0W2EyNRblg@VCpH/oDL4jiJxWJXdhAkJb9OiNNLBLeZp5nRrpGtMfNcM6iQmw6igEqguqxy0IAYDDCBvBKjHlQT4mL0vRKgoCy5a5hLgOduyQDnYihLfZP6aLrIKFgXPmgl4PvhwNcq6EGOCqRUAoUW45LWQsqBq2nuberZ9QJ@KXZZESSaLGtoPQOuil0@8xazOkfn@4bRfXok@/rF0yo/oIqpeAfnWV5YB@nJeu8SzZ0reIbYO/8PkCdf27jBR7Rffyw53m3IKYT45sPrdsq2Idtp/jENQptm@fkL "C (gcc) – Try It Online")
Takes input as the string and its length, with the length passed by reference (`d(str, &len)`), and outputs by modifying `len`.
]