lseif,

oh yeah? declare a variable.

bfg9k,

oh you know how to code? name every variable

lseif,

/^[a-zA-Z_]w*$/

i think… most languages at least

anton,

That’s variables and keyword.

If you have a regex for a languages keywords you can substract as they are closed under that operation.

lseif,

good point. some languages (like rust) also support r# prefix to use a keyword as a variable also

  • All
  • Subscribed
  • Moderated
  • Favorites
  • 196@lemmy.blahaj.zone
  • fightinggames
  • All magazines