Module: Bio::GFF::GFF3::Escape

Included in:
Bio::GFF::GFF3, Record, Record::Target, Record::Target, SequenceRegion, SequenceRegion
Defined in:
lib/bio/db/gff.rb

Overview

Private methods for escaping characters. Internal only. Users should not use this module directly.

Constant Summary collapse

UNSAFE =

unsafe characters to be escaped for normal columns

/[^-_.!~*'()a-zA-Z\d\/?:@+$\[\] "\x80-\xfd><;=,]/n
UNSAFE_SEQID =

unsafe characters to be escaped for seqid columns and target_id of the “Target” attribute

/[^-a-zA-Z0-9.:^*$@!+_?|]/n
UNSAFE_ATTRIBUTE =

unsafe characters to be escaped for attribute columns

/[^-_.!~*'()a-zA-Z\d\/?:@+$\[\] "\x80-\xfd><]/n