Retrieves the primary alphanumeric token definition using `ByType`.

ID: 1018

See: ByType
				
					using uCalcSoftware;

var uc = new uCalc();
var tokens = uc.ExpressionTokens;
var alphaToken = tokens.ByType(TokenType.AlphaNumeric);

Console.WriteLine($"Name: {alphaToken.Name}");
Console.WriteLine($"Regex: {alphaToken.Regex}");
				
			
Name: _token_alphanumeric
Regex: [a-zA-Z_][a-zA-Z0-9_]*
				
					#include <iostream>
#include "uCalc.h"

using namespace std;
using namespace uCalcSoftware;

int main() {
   uCalc uc;
   auto tokens = uc.ExpressionTokens();
   auto alphaToken = tokens.ByType(TokenType::AlphaNumeric);

   cout << "Name: " << alphaToken.Name() << endl;
   cout << "Regex: " << alphaToken.Regex() << endl;
}
				
			
Name: _token_alphanumeric
Regex: [a-zA-Z_][a-zA-Z0-9_]*
				
					Imports System
Imports uCalcSoftware
Public Module Program
   Public Sub Main()
      Dim uc As New uCalc()
      Dim tokens = uc.ExpressionTokens
      Dim alphaToken = tokens.ByType(TokenType.AlphaNumeric)
      
      Console.WriteLine($"Name: {alphaToken.Name}")
      Console.WriteLine($"Regex: {alphaToken.Regex}")
   End Sub
End Module
				
			
Name: _token_alphanumeric
Regex: [a-zA-Z_][a-zA-Z0-9_]*